Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
main ▾

Modern-Apps.git / third_party / betocore / np_adv / Cargo.toml

Cargo.toml68 lines · 1.5 KiBRaw
1[package]
2name = "np_adv"
3version.workspace = true
4edition.workspace = true
5publish.workspace = true
6license.workspace = true
7
8[lints]
9workspace = true
10
11[dependencies]
12array_view.workspace = true
13ldt_np_adv.workspace = true
14ldt.workspace = true
15np_hkdf.workspace = true
16xts_aes.workspace = true
17crypto_provider.workspace = true
18strum.workspace = true
19strum_macros.workspace = true
20nom.workspace = true
21lazy_static.workspace = true
22sink.workspace = true
23tinyvec.workspace = true
24itertools = { workspace = true, default-features = false }
25thiserror.workspace = true
26
27[features]
28default = ["alloc"]
29devtools = []
30testing = []
31alloc = ["crypto_provider/alloc"]
32# adds std::error::Error impls
33std = ["alloc"]
34
35[dev-dependencies]
36hex.workspace = true
37rand.workspace = true
38rand_ext = { path = "../rand_ext" }
39serde_json = { workspace = true, features = ["std"] }
40serde.workspace = true
41anyhow.workspace = true
42test_helper = { path = "../test_helper" }
43test_vector_hkdf.workspace = true
44criterion.workspace = true
45crypto_provider_default = { workspace = true, features = ["std", "rustcrypto"] }
46sink = { workspace = true, features = ["std"] }
47
48# examples/test_data_gen
49clap.workspace = true
50
51[[bench]]
52name = "deser_adv"
53harness = false
54required-features = ["alloc", "devtools"]
55
56[[example]]
57name = "generate_test_data"
58required-features = ["alloc", "devtools"]
59
60[[test]]
61name = "examples_v0"
62path = "tests/examples_v0.rs"
63required-features = ["alloc"]
64
65[[test]]
66name = "examples_v1"
67path = "tests/examples_v1.rs"
68required-features = ["alloc"]