Debian Codegraph @

third_party/rust/mls-rs-crypto-nss/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 name = "mls-rs-crypto-nss"
15 version = "0.1.0"
16 build = false
17 autolib = false
18 autobins = false
19 autoexamples = false
20 autotests = false
21 autobenches = false
22 description = "NSS based CryptoProvider for mls-rs"
23 homepage = "https://github.com/awslabs/mls-rs"
24 readme = false
25 keywords = [
26 "mls",
27 "mls-rs",
28 ]
29 license = "Apache-2.0 OR MIT"
30 repository = "https://github.com/awslabs/mls-rs"
31
32 [features]
33 default = ["std"]
34 gecko = ["nss-gk-api/gecko"]
35 std = [
36 "mls-rs-core/std",
37 "mls-rs-crypto-hpke/std",
38 "mls-rs-crypto-traits/std",
39 "getrandom/std",
40 "rand_core/std",
41 "dep:thiserror",
42 ]
43
44 [lib]
45 name = "mls_rs_crypto_nss"
46 path = "src/lib.rs"
47
48 [dependencies]
49 maybe-async = "0.2.10"
50
51 [dependencies.getrandom]
52 version = "0.2"
53 features = ["custom"]
54 default-features = false
55
56 [dependencies.hex]
57 version = "^0.4.3"
58 features = ["serde"]
59
60 [dependencies.mls-rs-core]
61 version = "0.21.0"
62 path = "../mls-rs-core"
63 default-features = false
64
65 [dependencies.mls-rs-crypto-hpke]
66 version = "0.14.0"
67 path = "../mls-rs-crypto-hpke"
68 default-features = false
69
70 [dependencies.mls-rs-crypto-traits]
71 version = "0.15.0"
72 path = "../mls-rs-crypto-traits"
73 default-features = false
74
75 [dependencies.nss-gk-api]
76 git = "https://github.com/beurdouche/nss-gk-api"
77 rev = "e48a946811ffd64abc78de3ee284957d8d1c0d63"
78 default-features = false
79
80 [dependencies.rand_core]
81 version = "0.6"
82 features = ["alloc"]
83 default-features = false
84
85 [dependencies.serde]
86 version = "1.0"
87 features = ["derive"]
88
89 [dependencies.thiserror]
90 version = "1.0.40"
91 optional = true
92
93 [dependencies.zeroize]
94 version = "1"
95 features = [
96 "alloc",
97 "zeroize_derive",
98 ]
99 default-features = false
100
101 [dev-dependencies]
102 assert_matches = "1.5.0"
103
104 [dev-dependencies.mls-rs-core]
105 version = "0.21.0"
106 path = "../mls-rs-core"
107 features = ["test_suite"]
108
109 [dev-dependencies.mls-rs-crypto-hpke]
110 version = "0.14.0"
111 path = "../mls-rs-crypto-hpke"
112 features = ["test_utils"]
113 default-features = false
114
115 [dev-dependencies.serde]
116 version = "1.0"
117 features = ["derive"]
118
119 [dev-dependencies.serde_json]
120 version = "^1.0"
121
122 [lints.rust.unexpected_cfgs]
123 level = "warn"
124 priority = 0
125 check-cfg = ["cfg(mls_build_async)"]