-
Notifications
You must be signed in to change notification settings - Fork 28
/
Cargo.toml
65 lines (57 loc) · 1.8 KB
/
Cargo.toml
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
[package]
name = "devicemapper"
version = "0.34.4"
authors = ["Stratis Developers <[email protected]>"]
description = "A library for using Linux device mapper"
documentation = "https://docs.rs/devicemapper/"
repository = "https://github.com/stratis-storage/devicemapper-rs"
readme = "README.md"
categories = ["os::linux-apis", "api-bindings"]
keywords = ["Linux", "device", "mapper", "libdm", "storage"]
license = "MPL-2.0"
edition = "2021"
rust-version = "1.71.1" # LOWEST SUPPORTED RUST TOOLCHAIN
exclude = [".clippy.toml", ".githooks/*", ".gitignore", ".github/*", "Makefile"]
[dependencies]
bitflags = "2.3.3"
nix = {version = "0.29.0", features=["fs", "ioctl", "mount"]}
env_logger="0.11.0"
semver = "1.0.0"
serde = "1.0.60"
rand = "0.8.0"
retry = {version = "2.0.0", default-features=false}
log = "0.4.14"
once_cell = "1.19.0"
[dev-dependencies]
assert_matches = "1.5.0"
libmount = "0.1.11"
loopdev-3 = "0.5.0"
tempfile = "3.4.0"
[dev-dependencies.uuid]
version = "1.0.0"
features = ["v4"]
[dependencies.devicemapper-sys]
version = "0.3.0"
path = "./devicemapper-rs-sys"
[build-dependencies.devicemapper-sys]
version = "0.3.0"
path = "./devicemapper-rs-sys"
[build-dependencies]
semver = "1.0.0"
[lints.rust]
warnings = { level = "deny" }
future_incompatible = { level = "deny", priority = 1 }
unused = { level = "deny", priority = 2}
rust_2018_idioms = { level = "deny", priority = 3 }
nonstandard_style = { level = "deny", priority = 4 }
unexpected_cfgs = { level = "deny", check-cfg = [
'cfg(devicemapper41supported)',
'cfg(devicemapper42supported)',
'cfg(devicemapper437supported)',
'cfg(devicemapper441supported)',
'cfg(devicemapper46supported)'
] }
[lints.clippy]
all = { level = "deny" }
cargo = { level = "deny" , priority = 1}
multiple-crate-versions = { level = "allow", priority = 2 }