diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 78deb9dcea..0fa9ead0ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,6 +71,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true - name: Install Android targets run: rustup target add aarch64-linux-android armv7-linux-androideabi - name: Install Cargo APK @@ -145,6 +149,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true - name: Install alsa and udev run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev if: runner.os == 'linux' @@ -155,7 +163,7 @@ jobs: - name: Checks dead links run: cargo deadlinks --dir target/doc/bevy continue-on-error: true - + check-missing-examples-in-docs: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index 078c643d6e..619d2115a1 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -23,6 +23,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true - name: Install cargo-deny run: cargo install cargo-deny - name: Check for security advisories and unmaintained crates @@ -32,6 +36,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true - name: Install cargo-deny run: cargo install cargo-deny - name: Check for banned and duplicated dependencies @@ -41,6 +49,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true - name: Install cargo-deny run: cargo install cargo-deny - name: Check for unauthorized licenses @@ -50,6 +62,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true - name: Install cargo-deny run: cargo install cargo-deny - name: Checked for unauthorized crate sources diff --git a/Cargo.toml b/Cargo.toml index 5a4dca68a0..2d68287a14 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "bevy" version = "0.5.0" -edition = "2018" +edition = "2021" authors = [ "Bevy Contributors ", "Carter Anderson ", @@ -14,7 +14,6 @@ keywords = ["game", "engine", "gamedev", "graphics", "bevy"] license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/bevyengine/bevy" -resolver = "2" [workspace] exclude = ["benches"] diff --git a/benches/Cargo.toml b/benches/Cargo.toml index 3d13d202ef..6e2ff0a9a1 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -5,7 +5,7 @@ authors = [ "Bevy Contributors ", "Carter Anderson ", ] -edition = "2018" +edition = "2021" [dev-dependencies] criterion = "0.3" diff --git a/crates/bevy_app/Cargo.toml b/crates/bevy_app/Cargo.toml index 58e8ac243e..5d99e47200 100644 --- a/crates/bevy_app/Cargo.toml +++ b/crates/bevy_app/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "bevy_app" version = "0.5.0" -edition = "2018" +edition = "2021" authors = [ "Bevy Contributors ", "Carter Anderson ", diff --git a/crates/bevy_asset/Cargo.toml b/crates/bevy_asset/Cargo.toml index a1fede4dfa..c4fee0cba8 100644 --- a/crates/bevy_asset/Cargo.toml +++ b/crates/bevy_asset/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "bevy_asset" version = "0.5.0" -edition = "2018" +edition = "2021" authors = [ "Bevy Contributors ", "Carter Anderson ", diff --git a/crates/bevy_audio/Cargo.toml b/crates/bevy_audio/Cargo.toml index e5d9b02163..d84f389e40 100644 --- a/crates/bevy_audio/Cargo.toml +++ b/crates/bevy_audio/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "bevy_audio" version = "0.5.0" -edition = "2018" +edition = "2021" authors = [ "Bevy Contributors ", "Carter Anderson ", diff --git a/crates/bevy_core/Cargo.toml b/crates/bevy_core/Cargo.toml index ef6283e890..a0b5539c2e 100644 --- a/crates/bevy_core/Cargo.toml +++ b/crates/bevy_core/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "bevy_core" version = "0.5.0" -edition = "2018" +edition = "2021" authors = [ "Bevy Contributors ", "Carter Anderson ", diff --git a/crates/bevy_core/src/lib.rs b/crates/bevy_core/src/lib.rs index 50ab218cd6..e4c6f6de55 100644 --- a/crates/bevy_core/src/lib.rs +++ b/crates/bevy_core/src/lib.rs @@ -43,7 +43,7 @@ impl Plugin for CorePlugin { app.world .get_resource::() .cloned() - .unwrap_or_else(DefaultTaskPoolOptions::default) + .unwrap_or_default() .create_default_pools(&mut app.world); app.init_resource::