Skip to content

Commit be83ede

Browse files
committed
Add rust-version metadata to declare MSRV
`rbw` uzes `LazyLock` which is only stabilized in 1.80.0 e.g. when building on RHEL 9 or derivatives (which currently has 1.79.0 - it will be refreshed in the next RHEL minor release) https://koji.fedoraproject.org/koji/taskinfo?taskID=129121049 ``` error[E0658]: use of unstable library feature 'lazy_cell' --> src/protocol.rs:70:5 | 70 | > = std::sync::LazyLock::new(|| { | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #109736 <rust-lang/rust#109736> for more information = help: add `#![feature(lazy_cell)]` to the crate attributes to enable = note: this compiler was built on 2024-06-10; consider upgrading it if it is out of date ``` see https://doc.rust-lang.org/std/sync/struct.LazyLock.html for the version it's stabilized Signed-off-by: Michel Lind <[email protected]>
1 parent 56581fb commit be83ede

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name = "rbw"
33
version = "1.13.2"
44
authors = ["Jesse Luehrs <[email protected]>"]
55
edition = "2021"
6+
rust-version = "1.80.0"
67

78
description = "Unofficial Bitwarden CLI"
89
repository = "https://git.tozt.net/rbw"

0 commit comments

Comments
 (0)