Skip to content

Commit

Permalink
document MSRV (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nugine authored Mar 3, 2025
1 parent 85d3212 commit ab5aa89
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ resolver = "2"
authors = ["dev <noreply@deepseek.com>"]
edition = "2021"
license = "MIT"
rust-version = "1.75.0" # MSRV

[profile.release-cmake]
debug = true
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Install other build prerequisites:

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

## Build 3FS

Expand Down
1 change: 1 addition & 0 deletions src/client/trash_cleaner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.1.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true

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

Expand Down
12 changes: 10 additions & 2 deletions src/client/trash_cleaner/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,11 @@ struct Opt {
paths: Vec<PathBuf>,

/// Interval in seconds
#[structopt(short, long, help = "Scan interval (in seconds), exit after one scan if set to 0")]
#[structopt(
short,
long,
help = "Scan interval (in seconds), exit after one scan if set to 0"
)]
interval: u64,

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

#[structopt(long, default_value = "warn", help = "stdout log level, default is warn")]
#[structopt(
long,
default_value = "warn",
help = "stdout log level, default is warn"
)]
stdout_level: Level,
}

Expand Down
2 changes: 2 additions & 0 deletions src/storage/chunk_engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
name = "chunk_engine"
version = "0.1.11"
edition = "2021"
license.workspace = true
rust-version.workspace = true

[lib]
crate-type = ["lib", "staticlib"]
Expand Down

0 comments on commit ab5aa89

Please sign in to comment.