bcachefs-tools/Cargo.toml
Matthias Goergens a213338304 fix: unexpected cfg condition lint
This commit fixes the following lint:

```
$ cargo check
   Compiling bcachefs-tools v0.0.0 (/home/matthias/prog/bcachefs-tools)
warning: unexpected `cfg` condition name: `fuse`
  --> src/bcachefs.rs:65:19
   |
65 |             #[cfg(fuse)]
   |                   ^^^^
   |
   = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
   = help: consider using a Cargo feature instead
   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
            [lints.rust]
            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuse)'] }
   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuse)");` to the top of the `build.rs`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
   = note: `#[warn(unexpected_cfgs)]` on by default

warning: `bcachefs-tools` (bin "bcachefs") generated 1 warning
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s
```
2024-07-23 13:51:00 +08:00

38 lines
951 B
TOML

[package]
name = "bcachefs-tools"
authors = ["Yuxuan Shui <yshuiv7@gmail.com>", "Kayla Firestack <dev@kaylafire.me>", "Kent Overstreet <kent.overstreet@linux.dev>" ]
edition = "2021"
rust-version = "1.70"
[[bin]]
name = "bcachefs"
path = "src/bcachefs.rs"
[dependencies]
log = { version = "0.4", features = ["std"] }
clap = { version = "4.0.32", features = ["derive", "wrap_help"] }
clap_complete = "4.3.2"
anyhow = "1.0"
libc = "0.2.69"
udev = "0.7.0"
uuid = "1.2.2"
errno = "0.2"
either = "1.5"
bch_bindgen = { path = "bch_bindgen" }
byteorder = "1.3"
strum = { version = "0.26", features = ["derive"] }
strum_macros = "0.26"
zeroize = { version = "1", features = ["std", "zeroize_derive"] }
rustix = { version = "0.38.34", features = ["termios"] }
owo-colors = "4"
[dependencies.env_logger]
version = "0.10"
default-features = false
[profile.release]
strip = "none"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuse)'] }