Skip to content

Commit ab5aa89

Browse files
authored
document MSRV (#59)
1 parent 85d3212 commit ab5aa89

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ resolver = "2"
99
authors = ["dev <[email protected]>"]
1010
edition = "2021"
1111
license = "MIT"
12+
rust-version = "1.75.0" # MSRV
1213

1314
[profile.release-cmake]
1415
debug = true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Install other build prerequisites:
8383

8484
- [`libfuse`](https://github.com/libfuse/libfuse/releases/tag/fuse-3.16.1) 3.16.1 or newer version
8585
- [FoundationDB](https://apple.github.io/foundationdb/getting-started-linux.html) 7.1 or newer version
86-
- [Rust](https://www.rust-lang.org/tools/install) toolchain
86+
- [Rust](https://www.rust-lang.org/tools/install) toolchain: minimal 1.75.0, recommanded 1.85.0 or newer version (latest stable version)
8787

8888
## Build 3FS
8989

src/client/trash_cleaner/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.1.0"
44
authors.workspace = true
55
edition.workspace = true
66
license.workspace = true
7+
rust-version.workspace = true
78

89
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
910

src/client/trash_cleaner/src/main.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,11 @@ struct Opt {
598598
paths: Vec<PathBuf>,
599599

600600
/// Interval in seconds
601-
#[structopt(short, long, help = "Scan interval (in seconds), exit after one scan if set to 0")]
601+
#[structopt(
602+
short,
603+
long,
604+
help = "Scan interval (in seconds), exit after one scan if set to 0"
605+
)]
602606
interval: u64,
603607

604608
#[structopt(long)]
@@ -615,7 +619,11 @@ struct Opt {
615619
#[structopt(long, default_value = "info", help = "Log level, default is info")]
616620
log_level: Level,
617621

618-
#[structopt(long, default_value = "warn", help = "stdout log level, default is warn")]
622+
#[structopt(
623+
long,
624+
default_value = "warn",
625+
help = "stdout log level, default is warn"
626+
)]
619627
stdout_level: Level,
620628
}
621629

src/storage/chunk_engine/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
name = "chunk_engine"
33
version = "0.1.11"
44
edition = "2021"
5+
license.workspace = true
6+
rust-version.workspace = true
57

68
[lib]
79
crate-type = ["lib", "staticlib"]

0 commit comments

Comments
 (0)