# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "mls-rs-core" version = "0.21.0" build = false exclude = ["test_data"] autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Core components and traits for mls-rs" homepage = "https://github.com/awslabs/mls-rs" readme = false keywords = [ "mls", "mls-rs", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/awslabs/mls-rs" [features] arbitrary = [ "std", "dep:arbitrary", ] default = [ "std", "rfc_compliant", "fast_serialize", ] fast_serialize = ["mls-rs-codec/preallocate"] ffi = [] last_resort_key_package_ext = [] post-quantum = [] rfc_compliant = ["x509"] serde = [ "dep:serde", "zeroize/serde", "hex/serde", "dep:serde_bytes", ] std = [ "mls-rs-codec/std", "zeroize/std", "dep:thiserror", "serde?/std", ] test_suite = [ "serde", "dep:serde_json", "dep:itertools", ] x509 = [] [lib] name = "mls_rs_core" path = "src/lib.rs" [dependencies] maybe-async = "0.2.10" [dependencies.arbitrary] version = "1" features = ["derive"] optional = true [dependencies.hex] version = "^0.4.3" features = ["alloc"] default-features = false [dependencies.itertools] version = "0.12" optional = true [dependencies.mls-rs-codec] version = "0.6" path = "../mls-rs-codec" default-features = false [dependencies.serde] version = "1.0" features = [ "alloc", "derive", ] optional = true default-features = false [dependencies.serde_bytes] version = "0.11" optional = true [dependencies.serde_json] version = "^1.0" optional = true [dependencies.thiserror] version = "1.0.40" optional = true [dependencies.zeroize] version = "1" features = [ "alloc", "zeroize_derive", ] default-features = false [dev-dependencies] assert_matches = "1.5.0" [target."cfg(mls_build_async)".dependencies] async-trait = "^0.1" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "^0.2.79" [target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test] version = "0.3" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = [ "cfg(mls_build_async)", "cfg(coverage_nightly)", ]