diff --git a/.clippy.toml b/.clippy.toml index 23bf48179..23fc604ac 100644 --- a/.clippy.toml +++ b/.clippy.toml @@ -1 +1 @@ -msrv = "1.60.0" # MSRV +msrv = "1.64.0" # MSRV diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6442d091..addb4ae91 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,7 @@ jobs: - name: No-default features run: cargo test --workspace --no-default-features msrv: - name: "Check MSRV: 1.60.0" + name: "Check MSRV: 1.64.0" runs-on: ubuntu-latest steps: - name: Checkout repository @@ -59,7 +59,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.60.0 # MSRV + toolchain: 1.64.0 # MSRV profile: minimal override: true - uses: Swatinem/rust-cache@v1 @@ -113,7 +113,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.60.0 # MSRV + toolchain: 1.64.0 # MSRV profile: minimal override: true components: clippy diff --git a/.github/workflows/rust-next.yml b/.github/workflows/rust-next.yml index 909803301..0c710c830 100644 --- a/.github/workflows/rust-next.yml +++ b/.github/workflows/rust-next.yml @@ -57,9 +57,9 @@ jobs: strategy: matrix: rust: - - 1.60.0 # MSRV + - 1.64.0 # MSRV - stable - continue-on-error: ${{ matrix.rust != '1.60.0' }} # MSRV + continue-on-error: ${{ matrix.rust != '1.64.0' }} # MSRV runs-on: ubuntu-latest steps: - name: Checkout repository diff --git a/Cargo.toml b/Cargo.toml index 0b9b641fc..20fa2a9af 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ readme = "README.md" categories = ["development-tools::cargo-plugins"] keywords = ["cargo"] edition = "2021" -rust-version = "1.60.0" # MSRV +rust-version = "1.64.0" # MSRV include = [ "src/**/*", "Cargo.toml", diff --git a/src/config.rs b/src/config.rs index 520263b37..184dfc7d3 100644 --- a/src/config.rs +++ b/src/config.rs @@ -606,7 +606,7 @@ impl PublishArgs { registry: self.registry.clone(), verify: resolve_bool_arg(self.verify, self.no_verify), enable_features: (!self.features.is_empty()).then(|| self.features.clone()), - enable_all_features: self.all_features.then(|| true), + enable_all_features: self.all_features.then_some(true), target: self.target.clone(), ..Default::default() } diff --git a/src/steps/version.rs b/src/steps/version.rs index 5fe948dc9..0abc7f008 100644 --- a/src/steps/version.rs +++ b/src/steps/version.rs @@ -290,7 +290,7 @@ pub fn update_versions( dry_run, )?; } - update_dependent_versions(&ws_meta, pkg, version, dry_run)?; + update_dependent_versions(ws_meta, pkg, version, dry_run)?; changed = true; } }