| # 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" |
| rust-version = "1.68.2" |
| name = "mls-rs" |
| version = "0.39.1" |
| exclude = ["test_data"] |
| description = "An implementation of Messaging Layer Security (RFC 9420)" |
| homepage = "https://github.com/awslabs/mls-rs" |
| readme = "README.md" |
| keywords = [ |
| "crypto", |
| "cryptography", |
| "security", |
| "mls", |
| "e2ee", |
| ] |
| categories = [ |
| "no-std", |
| "cryptography", |
| ] |
| license = "Apache-2.0 OR MIT" |
| repository = "https://github.com/awslabs/mls-rs" |
| |
| [package.metadata.docs.rs] |
| features = [ |
| "external_client", |
| "sqlite", |
| ] |
| rustdoc-args = [ |
| "--cfg", |
| "docsrs", |
| ] |
| |
| [[example]] |
| name = "basic_usage" |
| required-features = [] |
| |
| [[example]] |
| name = "x509" |
| required-features = ["x509"] |
| |
| [[example]] |
| name = "large_group" |
| required-features = [] |
| |
| [[example]] |
| name = "custom" |
| required-features = ["std"] |
| |
| [[example]] |
| name = "basic_server_usage" |
| required-features = ["external_client"] |
| |
| [[test]] |
| name = "client_tests" |
| required-features = ["test_util"] |
| |
| [[bench]] |
| name = "group_add" |
| harness = false |
| required-features = ["benchmark_util"] |
| |
| [[bench]] |
| name = "group_commit" |
| harness = false |
| required-features = ["benchmark_util"] |
| |
| [[bench]] |
| name = "group_receive_commit" |
| harness = false |
| required-features = ["benchmark_util"] |
| |
| [[bench]] |
| name = "group_application" |
| harness = false |
| required-features = ["benchmark_util"] |
| |
| [[bench]] |
| name = "group_serialize" |
| harness = false |
| required-features = ["benchmark_util"] |
| |
| [dependencies.arbitrary] |
| version = "1" |
| features = ["derive"] |
| optional = true |
| |
| [dependencies.cfg-if] |
| version = "1" |
| |
| [dependencies.debug_tree] |
| version = "0.4.0" |
| optional = true |
| |
| [dependencies.hex] |
| version = "^0.4.3" |
| features = [ |
| "serde", |
| "alloc", |
| ] |
| optional = true |
| default-features = false |
| |
| [dependencies.itertools] |
| version = "0.12.0" |
| features = ["use_alloc"] |
| default-features = false |
| |
| [dependencies.maybe-async] |
| version = "0.2.10" |
| |
| [dependencies.mls-rs-codec] |
| version = "0.5.2" |
| default-features = false |
| |
| [dependencies.mls-rs-core] |
| version = "0.18.0" |
| default-features = false |
| |
| [dependencies.mls-rs-crypto-openssl] |
| version = "0.9.0" |
| optional = true |
| |
| [dependencies.mls-rs-identity-x509] |
| version = "0.11.0" |
| optional = true |
| default-features = false |
| |
| [dependencies.mls-rs-provider-sqlite] |
| version = "0.11.0" |
| optional = true |
| default-features = false |
| |
| [dependencies.once_cell] |
| version = "1.18" |
| optional = true |
| |
| [dependencies.rayon] |
| version = "1" |
| optional = true |
| |
| [dependencies.safer-ffi] |
| version = "0.1.3" |
| optional = true |
| default-features = false |
| |
| [dependencies.safer-ffi-gen] |
| version = "0.9.2" |
| optional = true |
| default-features = false |
| |
| [dependencies.serde] |
| version = "1.0" |
| features = [ |
| "alloc", |
| "derive", |
| ] |
| optional = true |
| default-features = false |
| |
| [dependencies.spin] |
| version = "0.9.8" |
| features = [ |
| "mutex", |
| "spin_mutex", |
| ] |
| default-features = false |
| |
| [dependencies.thiserror] |
| version = "1.0.40" |
| optional = true |
| |
| [dependencies.zeroize] |
| version = "1" |
| features = [ |
| "alloc", |
| "zeroize_derive", |
| ] |
| default-features = false |
| |
| [dev-dependencies.assert_matches] |
| version = "1.5.0" |
| |
| [dev-dependencies.criterion] |
| version = "0.5.1" |
| features = [ |
| "async_futures", |
| "html_reports", |
| ] |
| default-features = false |
| |
| [dev-dependencies.hex] |
| version = "^0.4.3" |
| features = [ |
| "serde", |
| "alloc", |
| ] |
| default-features = false |
| |
| [dev-dependencies.rand] |
| version = "0.8" |
| |
| [dev-dependencies.serde] |
| version = "1.0" |
| features = [ |
| "alloc", |
| "derive", |
| ] |
| default-features = false |
| |
| [dev-dependencies.serde_json] |
| version = "^1.0" |
| |
| [features] |
| arbitrary = [ |
| "std", |
| "dep:arbitrary", |
| "mls-rs-core/arbitrary", |
| ] |
| benchmark_util = [ |
| "test_util", |
| "default", |
| "dep:mls-rs-crypto-openssl", |
| ] |
| by_ref_proposal = [] |
| custom_proposal = [] |
| default = [ |
| "std", |
| "rayon", |
| "rfc_compliant", |
| "tree_index", |
| "fast_serialize", |
| ] |
| external_client = ["std"] |
| fast_serialize = ["mls-rs-core/fast_serialize"] |
| ffi = [ |
| "dep:safer-ffi", |
| "dep:safer-ffi-gen", |
| "mls-rs-core/ffi", |
| ] |
| fuzz_util = [ |
| "test_util", |
| "default", |
| "dep:once_cell", |
| "dep:mls-rs-crypto-openssl", |
| ] |
| grease = ["std"] |
| out_of_order = ["private_message"] |
| prior_epoch = [] |
| private_message = [] |
| psk = [] |
| rayon = [ |
| "std", |
| "dep:rayon", |
| ] |
| rfc_compliant = [ |
| "state_update", |
| "private_message", |
| "custom_proposal", |
| "out_of_order", |
| "psk", |
| "x509", |
| "prior_epoch", |
| "by_ref_proposal", |
| "mls-rs-core/rfc_compliant", |
| ] |
| secret_tree_access = [] |
| serde = [ |
| "mls-rs-core/serde", |
| "zeroize/serde", |
| "dep:serde", |
| "dep:hex", |
| ] |
| sqlcipher = [ |
| "sqlite", |
| "mls-rs-provider-sqlite/sqlcipher", |
| ] |
| sqlcipher-bundled = [ |
| "sqlite", |
| "mls-rs-provider-sqlite/sqlcipher-bundled", |
| ] |
| sqlite = [ |
| "std", |
| "mls-rs-provider-sqlite/sqlite", |
| ] |
| sqlite-bundled = [ |
| "sqlite", |
| "mls-rs-provider-sqlite/sqlite-bundled", |
| ] |
| state_update = [] |
| std = [ |
| "mls-rs-core/std", |
| "mls-rs-codec/std", |
| "mls-rs-identity-x509?/std", |
| "hex/std", |
| "futures/std", |
| "itertools/use_std", |
| "safer-ffi-gen?/std", |
| "zeroize/std", |
| "dep:debug_tree", |
| "dep:thiserror", |
| "serde?/std", |
| ] |
| test_util = [] |
| tree_index = [] |
| x509 = [ |
| "mls-rs-core/x509", |
| "dep:mls-rs-identity-x509", |
| ] |
| |
| [target."cfg(mls_build_async)".dependencies.async-trait] |
| version = "0.1.74" |
| |
| [target."cfg(mls_build_async)".dependencies.futures] |
| version = "0.3.25" |
| features = ["alloc"] |
| default-features = false |
| |
| [target."cfg(mls_build_async)".dev-dependencies.futures-test] |
| version = "0.3.25" |
| |
| [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.criterion] |
| version = "0.5.1" |
| features = [ |
| "async_futures", |
| "html_reports", |
| ] |
| |
| [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.mls-rs-crypto-openssl] |
| version = "0.9.0" |
| |
| [target."cfg(not(target_has_atomic = \"ptr\"))".dependencies.portable-atomic] |
| version = "1.5.1" |
| features = ["critical-section"] |
| default-features = false |
| |
| [target."cfg(not(target_has_atomic = \"ptr\"))".dependencies.portable-atomic-util] |
| version = "0.1.2" |
| features = ["alloc"] |
| default-features = false |
| |
| [target."cfg(not(target_has_atomic = \"ptr\"))".dependencies.spin] |
| version = "0.9.8" |
| features = ["portable_atomic"] |
| default-features = false |
| |
| [target."cfg(target_arch = \"wasm32\")".dependencies.getrandom] |
| version = "0.2" |
| features = [ |
| "js", |
| "custom", |
| ] |
| default-features = false |
| |
| [target."cfg(target_arch = \"wasm32\")".dependencies.rand_core] |
| version = "0.6" |
| features = ["alloc"] |
| default-features = false |
| |
| [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] |
| version = "^0.2.79" |
| |
| [target."cfg(target_arch = \"wasm32\")".dev-dependencies.criterion] |
| version = "0.5.1" |
| features = [ |
| "plotters", |
| "cargo_bench_support", |
| "async_futures", |
| "html_reports", |
| ] |
| default-features = false |
| |
| [target."cfg(target_arch = \"wasm32\")".dev-dependencies.mls-rs-crypto-webcrypto] |
| version = "0.4.0" |
| |
| [target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] |
| version = "0.3.26" |
| default-features = false |