-
Notifications
You must be signed in to change notification settings - Fork 12
/
Cargo.toml
61 lines (53 loc) · 1.64 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
[package]
name = "libcryptsetup-rs"
version = "0.11.0"
authors = ["John Baublitz <jbaublitz@redhat.com>"]
edition = "2021"
rust-version = "1.71.1" # LOWEST SUPPORTED RUST TOOLCHAIN
description = "High level Rust bindings for libcryptsetup"
license = "MPL-2.0"
documentation = "https://docs.rs/libcryptsetup-rs"
homepage = "https://stratis-storage.github.io/"
repository = "https://github.com/stratis-storage/libcryptsetup-rs"
build = "build.rs"
keywords = ["Linux", "encryption", "storage"]
categories = ["cryptography", "api-bindings", "os::linux-apis"]
exclude = [".clippy.toml", ".githooks/*", ".gitignore", ".github/*", "Makefile"]
[dependencies.libcryptsetup-rs-sys]
version = "0.4.0"
path = "./libcryptsetup-rs-sys"
[dependencies]
either = "1.6.1"
libc = "0.2.155"
bitflags = "2.3.1"
log = "0.4.19"
once_cell = "1.19.0"
serde_json = "1.0.0"
[dependencies.uuid]
version = "1.0.0"
features = ["v4"]
[build-dependencies]
pkg-config = "0.3.15"
semver = "1.0.0"
[dev-dependencies]
base64 = "0.21.0"
env_logger = "0.11.0"
loopdev-3 = "0.5.0"
nix = {version="0.29.0", features=["user"]}
rand = "0.8.0"
[features]
mutex = []
[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(cryptsetup23supported)', 'cfg(cryptsetup24supported)'
] }
[lints.clippy]
all = { level = "deny" }
cargo = { level = "deny", priority = 1 }
multiple-crate-versions = { level = "allow", priority = 2 }
ptr-as-ptr = { level = "deny", priority = 3 }