diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d4f1db26..135c18e27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ concurrency: cancel-in-progress: true env: - rust-version: 1.71.1 + rust-version: 1.65.0 jobs: build: diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 9685d65cd..14b64a276 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -11,7 +11,7 @@ concurrency: cancel-in-progress: true env: - rust-version: 1.71.1 + rust-version: 1.65.0 dfx-version: 0.14.1 wasmtime-version: 10.0.1 diff --git a/Cargo.toml b/Cargo.toml index b0846e8f3..3739a4709 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,12 @@ members = [ authors = ["DFINITY Stiftung "] edition = "2021" repository = "https://github.com/dfinity/cdk-rs" -rust-version = "1.71.1" +# MSRV +# Avoid updating this field unless we use new Rust features +# Sync rust-version in following CI files: +# .github/workflows/ci.yml +# .github/workflows/examples.yml +rust-version = "1.65.0" license = "Apache-2.0" [profile.canister-release] diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 53ad48c8e..bce0b458d 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -3,7 +3,5 @@ channel = "1.71.1" targets = ["wasm32-unknown-unknown"] components = ["rustfmt", "clippy"] -# Sync rust-version in following files -# Cargo.toml -# .github/workflows/ci.yml -# .github/workflows/examples.yml +# The version only influences the local develop environment. +# No need to sync with Cargo.toml and CI.