125 lines
2.6 KiB
TOML
125 lines
2.6 KiB
TOML
# 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-crypto-nss"
|
|
version = "0.1.0"
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "NSS based CryptoProvider 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]
|
|
default = ["std"]
|
|
gecko = ["nss-gk-api/gecko"]
|
|
std = [
|
|
"mls-rs-core/std",
|
|
"mls-rs-crypto-hpke/std",
|
|
"mls-rs-crypto-traits/std",
|
|
"getrandom/std",
|
|
"rand_core/std",
|
|
"dep:thiserror",
|
|
]
|
|
|
|
[lib]
|
|
name = "mls_rs_crypto_nss"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
maybe-async = "0.2.10"
|
|
|
|
[dependencies.getrandom]
|
|
version = "0.2"
|
|
features = ["custom"]
|
|
default-features = false
|
|
|
|
[dependencies.hex]
|
|
version = "^0.4.3"
|
|
features = ["serde"]
|
|
|
|
[dependencies.mls-rs-core]
|
|
version = "0.21.0"
|
|
path = "../mls-rs-core"
|
|
default-features = false
|
|
|
|
[dependencies.mls-rs-crypto-hpke]
|
|
version = "0.14.0"
|
|
path = "../mls-rs-crypto-hpke"
|
|
default-features = false
|
|
|
|
[dependencies.mls-rs-crypto-traits]
|
|
version = "0.15.0"
|
|
path = "../mls-rs-crypto-traits"
|
|
default-features = false
|
|
|
|
[dependencies.nss-gk-api]
|
|
git = "https://github.com/beurdouche/nss-gk-api"
|
|
rev = "e48a946811ffd64abc78de3ee284957d8d1c0d63"
|
|
default-features = false
|
|
|
|
[dependencies.rand_core]
|
|
version = "0.6"
|
|
features = ["alloc"]
|
|
default-features = false
|
|
|
|
[dependencies.serde]
|
|
version = "1.0"
|
|
features = ["derive"]
|
|
|
|
[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"
|
|
|
|
[dev-dependencies.mls-rs-core]
|
|
version = "0.21.0"
|
|
path = "../mls-rs-core"
|
|
features = ["test_suite"]
|
|
|
|
[dev-dependencies.mls-rs-crypto-hpke]
|
|
version = "0.14.0"
|
|
path = "../mls-rs-crypto-hpke"
|
|
features = ["test_utils"]
|
|
default-features = false
|
|
|
|
[dev-dependencies.serde]
|
|
version = "1.0"
|
|
features = ["derive"]
|
|
|
|
[dev-dependencies.serde_json]
|
|
version = "^1.0"
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
priority = 0
|
|
check-cfg = ["cfg(mls_build_async)"]
|