Debian Codegraph @

third_party/rust/mls-rs-core/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-core"
15 version = "0.21.0"
16 build = false
17 exclude = ["test_data"]
18 autolib = false
19 autobins = false
20 autoexamples = false
21 autotests = false
22 autobenches = false
23 description = "Core components and traits for mls-rs"
24 homepage = "https://github.com/awslabs/mls-rs"
25 readme = false
26 keywords = [
27 "mls",
28 "mls-rs",
29 ]
30 license = "Apache-2.0 OR MIT"
31 repository = "https://github.com/awslabs/mls-rs"
32
33 [features]
34 arbitrary = [
35 "std",
36 "dep:arbitrary",
37 ]
38 default = [
39 "std",
40 "rfc_compliant",
41 "fast_serialize",
42 ]
43 fast_serialize = ["mls-rs-codec/preallocate"]
44 ffi = []
45 last_resort_key_package_ext = []
46 post-quantum = []
47 rfc_compliant = ["x509"]
48 serde = [
49 "dep:serde",
50 "zeroize/serde",
51 "hex/serde",
52 "dep:serde_bytes",
53 ]
54 std = [
55 "mls-rs-codec/std",
56 "zeroize/std",
57 "dep:thiserror",
58 "serde?/std",
59 ]
60 test_suite = [
61 "serde",
62 "dep:serde_json",
63 "dep:itertools",
64 ]
65 x509 = []
66
67 [lib]
68 name = "mls_rs_core"
69 path = "src/lib.rs"
70
71 [dependencies]
72 maybe-async = "0.2.10"
73
74 [dependencies.arbitrary]
75 version = "1"
76 features = ["derive"]
77 optional = true
78
79 [dependencies.hex]
80 version = "^0.4.3"
81 features = ["alloc"]
82 default-features = false
83
84 [dependencies.itertools]
85 version = "0.12"
86 optional = true
87
88 [dependencies.mls-rs-codec]
89 version = "0.6"
90 path = "../mls-rs-codec"
91 default-features = false
92
93 [dependencies.serde]
94 version = "1.0"
95 features = [
96 "alloc",
97 "derive",
98 ]
99 optional = true
100 default-features = false
101
102 [dependencies.serde_bytes]
103 version = "0.11"
104 optional = true
105
106 [dependencies.serde_json]
107 version = "^1.0"
108 optional = true
109
110 [dependencies.thiserror]
111 version = "1.0.40"
112 optional = true
113
114 [dependencies.zeroize]
115 version = "1"
116 features = [
117 "alloc",
118 "zeroize_derive",
119 ]
120 default-features = false
121
122 [dev-dependencies]
123 assert_matches = "1.5.0"
124
125 [target."cfg(mls_build_async)".dependencies]
126 async-trait = "^0.1"
127
128 [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
129 version = "^0.2.79"
130
131 [target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
132 version = "0.3"
133
134 [lints.rust.unexpected_cfgs]
135 level = "warn"
136 priority = 0
137 check-cfg = [
138 "cfg(mls_build_async)",
139 "cfg(coverage_nightly)",
140 ]