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