| 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-hpke" |
| 15 |
version = "0.14.0" |
| 16 |
build = false |
| 17 |
autolib = false |
| 18 |
autobins = false |
| 19 |
autoexamples = false |
| 20 |
autotests = false |
| 21 |
autobenches = false |
| 22 |
description = "HPKE implementation based on mls-rs-crypto-traits used by mls-rs" |
| 23 |
homepage = "https://github.com/awslabs/mls-rs" |
| 24 |
readme = false |
| 25 |
keywords = [ |
| 26 |
"mls", |
| 27 |
"mls-rs", |
| 28 |
"HPKE", |
| 29 |
] |
| 30 |
categories = [ |
| 31 |
"no-std", |
| 32 |
"cryptography", |
| 33 |
] |
| 34 |
license = "Apache-2.0 OR MIT" |
| 35 |
repository = "https://github.com/awslabs/mls-rs" |
| 36 |
|
| 37 |
[features] |
| 38 |
default = ["std"] |
| 39 |
std = [ |
| 40 |
"mls-rs-core/std", |
| 41 |
"mls-rs-crypto-traits/std", |
| 42 |
"dep:thiserror", |
| 43 |
"zeroize/std", |
| 44 |
] |
| 45 |
test_utils = ["mls-rs-core/test_suite"] |
| 46 |
|
| 47 |
[lib] |
| 48 |
name = "mls_rs_crypto_hpke" |
| 49 |
path = "src/lib.rs" |
| 50 |
|
| 51 |
[dependencies] |
| 52 |
cfg-if = "^1" |
| 53 |
maybe-async = "0.2.10" |
| 54 |
|
| 55 |
[dependencies.mls-rs-core] |
| 56 |
version = "0.21.0" |
| 57 |
path = "../mls-rs-core" |
| 58 |
default-features = false |
| 59 |
|
| 60 |
[dependencies.mls-rs-crypto-traits] |
| 61 |
version = "0.15.0" |
| 62 |
path = "../mls-rs-crypto-traits" |
| 63 |
default-features = false |
| 64 |
|
| 65 |
[dependencies.thiserror] |
| 66 |
version = "1.0.40" |
| 67 |
optional = true |
| 68 |
|
| 69 |
[dependencies.zeroize] |
| 70 |
version = "1" |
| 71 |
features = [ |
| 72 |
"alloc", |
| 73 |
"zeroize_derive", |
| 74 |
] |
| 75 |
default-features = false |
| 76 |
|
| 77 |
[dev-dependencies] |
| 78 |
assert_matches = "1.5.0" |
| 79 |
mockall = "0.12" |
| 80 |
|
| 81 |
[dev-dependencies.hex] |
| 82 |
version = "^0.4.3" |
| 83 |
features = ["serde"] |
| 84 |
|
| 85 |
[dev-dependencies.mls-rs-crypto-traits] |
| 86 |
version = "0.15.0" |
| 87 |
path = "../mls-rs-crypto-traits" |
| 88 |
features = ["mock"] |
| 89 |
|
| 90 |
[dev-dependencies.serde] |
| 91 |
version = "1.0" |
| 92 |
features = ["derive"] |
| 93 |
|
| 94 |
[dev-dependencies.serde_json] |
| 95 |
version = "^1.0" |
| 96 |
|
| 97 |
[target."cfg(mls_build_async)".dependencies] |
| 98 |
async-trait = "^0.1" |
| 99 |
|
| 100 |
[target."cfg(mls_build_async)".dev-dependencies] |
| 101 |
futures-test = "0.3.25" |
| 102 |
|
| 103 |
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.getrandom] |
| 104 |
version = "0.2" |
| 105 |
features = ["js"] |
| 106 |
|
| 107 |
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test] |
| 108 |
version = "0.3" |
| 109 |
|
| 110 |
[lints.rust.unexpected_cfgs] |
| 111 |
level = "warn" |
| 112 |
priority = 0 |
| 113 |
check-cfg = ["cfg(mls_build_async)"] |