-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
93 lines (86 loc) · 2.01 KB
/
Cargo.toml
File metadata and controls
93 lines (86 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[workspace]
members = [
"cli",
"disk",
"fs",
"fuse",
"mkfs",
"stream",
"transaction",
"tune",
"uapi",
"util/gen",
"util/testing",
]
default-members = [
"cli",
"disk",
"fs",
"fuse",
"mkfs",
"stream",
"transaction",
"tune",
"uapi",
]
resolver = "2"
[workspace.metadata.crane]
name = "btrfs"
[workspace.package]
version = "0.12.0"
edition = "2024"
license = "GPL-2.0-only"
repository = "https://github.com/rustutils/btrfsutils"
homepage = "https://rustutils.gitlab.io/btrfsutils"
[workspace.dependencies]
libc = "0.2"
nix = { version = "0.31.2", features = ["ioctl", "fs"] }
bitflags = "2"
uuid = { version = "1", features = ["v4", "v7"] }
anyhow = "1.0.102"
clap = { version = "4.6.0", features = [
"derive",
"wrap_help",
"suggestions",
"env",
] }
env_logger = "0.11.9"
log = "0.4.29"
bytes = "1"
crc32c = "0.6"
xxhash-rust = { version = "0.8", features = ["xxh64"] }
sha2 = "0.10"
blake2 = "0.10"
flate2 = "1"
zstd = "0.13"
lzokay = "2"
cols = { version = "0.3.2", features = ["derive", "color"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tempfile = "3"
insta = "1"
bindgen = "0.72.1"
tokio = { version = "1", default-features = false }
# internal crates
btrfs-cli = { path = "cli", version = "0.12.0" }
btrfs-disk = { path = "disk", version = "0.12.0" }
btrfs-fs = { path = "fs", version = "0.12.0" }
btrfs-fuse = { path = "fuse", version = "0.12.0" }
btrfs-mkfs = { path = "mkfs", version = "0.12.0" }
btrfs-stream = { path = "stream", version = "0.12.0" }
btrfs-transaction = { path = "transaction", version = "0.12.0" }
btrfs-tune = { path = "tune", version = "0.12.0" }
btrfs-uapi = { path = "uapi", version = "0.12.0" }
# internal local crates (no version on these)
btrfs-test-utils = { path = "util/testing" }
# Optimize compression libraries in dev/test builds so gzip snapshot
# tests don't take forever.
[profile.dev.package.flate2]
opt-level = 3
[profile.dev.package.miniz_oxide]
opt-level = 3
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true