bcachefs-tools/Cargo.toml
Gabriel de Perthuis d2c208640a Downgrade blkid hard requirement due to nixpkgs issues
2.40.1 is still a soft requirement as format will refuse
to run without a flag.

nixpkgs requiring macOS compatibility of util-linux is a questionable
choice.

See:
- https://github.com/NixOS/nixpkgs/pull/333467
- https://github.com/util-linux/util-linux/pull/3013

Rationale for picking blkid 2.39.3:
https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.39/v2.39.3-ReleaseNotes
2024-10-28 11:32:09 +00:00

55 lines
1.2 KiB
TOML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[package]
name = "bcachefs-tools"
version = "1.12.0"
authors = ["Yuxuan Shui <yshuiv7@gmail.com>", "Kayla Firestack <dev@kaylafire.me>", "Kent Overstreet <kent.overstreet@linux.dev>" ]
edition = "2021"
rust-version = "1.77"
[[bin]]
name = "bcachefs"
path = "src/bcachefs.rs"
[features]
fuse = []
[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" }
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
[build-dependencies]
system-deps = "7"
[package.metadata.system-deps]
# libaio is missing a pkg-config file
# blkid/util-linux 2.40.1 is recommended
blkid = "2.39.3"
fuse3 = { version = "3.14", feature = "fuse" }
libkeyutils = "1.6.3"
liblz4 = "1.9.4"
libsodium = "1.0.18"
libudev = "252"
liburcu = "0.13"
libzstd = "1.5.4"
uuid = "2.39.3"
zlib = "1.2.13"
[profile.release]
strip = "none"