mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-03-31 00:00:03 +03:00
This documents and enforces minimum requirements for C library dependencies. At the moment versions were picked from debian bookworm (debian stable since 2023-06), except blkid (util-linux) where 2.40.1 is required: https://github.com/koverstreet/bcachefs-tools/pull/347 libaio is excluded because it doesn't provide a pkg-config file. Also remove libscrypt from debian/control since we use the libsodium implementation. Signed-off-by: Gabriel de Perthuis <g2p.code@gmail.com>
54 lines
1.2 KiB
TOML
54 lines
1.2 KiB
TOML
[package]
|
||
name = "bcachefs-tools"
|
||
version = "1.25.0"
|
||
authors = ["Yuxuan Shui <yshuiv7@gmail.com>", "Kayla Firestack <dev@kaylafire.me>", "Kent Overstreet <kent.overstreet@linux.dev>" ]
|
||
edition = "2021"
|
||
rust-version = "1.77.0"
|
||
|
||
[[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 = "2.40.1"
|
||
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.40.1"
|
||
zlib = "1.2.13"
|
||
|
||
[profile.release]
|
||
strip = "none"
|