[package]
edition = "2021"
name = "dcrypt-pke"
version = "4.0.0"
authors = ["Heath Ledger"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Public Key Encryption schemes for the dcrypt library"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/ioi-foundation/dcrypt"
[package.metadata.release]
publish = true
[features]
alloc = [
"dcrypt-api/alloc",
"dcrypt-common/alloc",
"dcrypt-internal/alloc",
"dcrypt-algorithms/alloc",
]
default = ["std"]
no_std = [
"alloc",
"dcrypt-api/no_std",
"dcrypt-common/no_std",
"dcrypt-internal/no_std",
]
std = [
"dcrypt-api/std",
"dcrypt-common/std",
"dcrypt-internal/std",
"dcrypt-algorithms/std",
"alloc",
]
[lib]
name = "dcrypt_pke"
path = "src/lib.rs"
[dependencies.dcrypt-algorithms]
version = "=4.0.0"
features = [
"alloc",
"ec",
"kdf",
"aead",
"hash",
"mac",
"stream",
]
default-features = false
[dependencies.dcrypt-api]
version = "=4.0.0"
default-features = false
[dependencies.dcrypt-common]
version = "=4.0.0"
default-features = false
[dependencies.dcrypt-internal]
version = "=4.0.0"
default-features = false
[dependencies.dcrypt-params]
version = "=4.0.0"
[lints.rust]
unsafe_code = "forbid"