diff options
Diffstat (limited to 'template/fresh')
| -rw-r--r-- | template/fresh/Cargo.toml | 5 | ||||
| -rw-r--r-- | template/fresh/crates/app/Cargo.toml | 1 | ||||
| -rw-r--r-- | template/fresh/rust-toolchain.toml | 5 |
3 files changed, 7 insertions, 4 deletions
diff --git a/template/fresh/Cargo.toml b/template/fresh/Cargo.toml index ee35453..57d0dd9 100644 --- a/template/fresh/Cargo.toml +++ b/template/fresh/Cargo.toml @@ -1,4 +1,6 @@ -# Replace the member list, package metadata, and toolchain/MSRV values deliberately. +# Replace the member list and package metadata deliberately. +# If the target records `rust-version`, derive it from the latest system +# `rustc --version`; do not copy a Rust version from this template. [workspace] members = ["crates/app"] @@ -7,7 +9,6 @@ resolver = "3" [workspace.package] edition = "2024" license = "MIT" -rust-version = "1.90" version = "0.1.0" [workspace.lints.rust] diff --git a/template/fresh/crates/app/Cargo.toml b/template/fresh/crates/app/Cargo.toml index ce1808a..51c7dac 100644 --- a/template/fresh/crates/app/Cargo.toml +++ b/template/fresh/crates/app/Cargo.toml @@ -2,7 +2,6 @@ name = "app" edition.workspace = true license.workspace = true -rust-version.workspace = true version.workspace = true [lints] diff --git a/template/fresh/rust-toolchain.toml b/template/fresh/rust-toolchain.toml index 66f329f..52f2d51 100644 --- a/template/fresh/rust-toolchain.toml +++ b/template/fresh/rust-toolchain.toml @@ -1,4 +1,7 @@ +# Non-versioned on purpose: use the active system rustup channel, not a stale +# Rust version copied from this starter. + [toolchain] -channel = "1.90.0" +channel = "stable" profile = "minimal" components = ["clippy", "rustfmt"] |