mirror of
https://seed.radicle.dev/rad:z2UcCU1LgMshWvXj6hXSDDrwB8q8M.git
synced 2026-10-18 19:30:30 +08:00
build(Cargo.toml): set minimum supported Rust version
Sets the MSRV for the crate. The `rust-toolchain.toml` file is dropped since this is too retrictive when choosing choosing a toolchain for developing the crate – uses exact semantics. It is necessary to change the `flake.nix` to read this version from the `Cargo.toml` so that it can select the rust toolchain to use via `rust-overlay`. Signed-off-by: Lars Wirzenius <liw@liw.fi> Co-authored-by: Fintan Halpenny <fintan.halpenny@gmail.com>
This commit is contained in:
committed by
Fintan Halpenny
co-authored by
Fintan Halpenny
parent
1238715ff4
commit
b41229ca07
@@ -5,6 +5,9 @@ license = "MIT OR Apache-2.0"
|
||||
version = "0.1.0"
|
||||
authors = ["Fintan Halpenny <fintan.halpenny@gmail.com>"]
|
||||
edition = "2021"
|
||||
# N.B. always use the full semver so that rust-overlay in `flake.nix` can select
|
||||
# the correct version
|
||||
rust-version = "1.82.0"
|
||||
|
||||
[dependencies]
|
||||
indexmap = { version = "2.7.1", features = ["serde"] }
|
||||
|
||||
Reference in New Issue
Block a user