[package]
edition = "2021"
name = "dcrypt-common"
version = "3.0.0"
authors = ["Heath Ledger"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common implementations and shared functionality 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-internal/alloc",
]
default = ["std"]
no_std = []
std = [
"alloc",
"dcrypt-api/std",
"dcrypt-internal/std",
]
[lib]
name = "dcrypt_common"
path = "src/lib.rs"
[dependencies.dcrypt-api]
version = "=3.0.0"
features = ["alloc"]
default-features = false
[dependencies.dcrypt-internal]
version = "=3.0.0"
features = ["alloc"]
default-features = false
[lints.rust]
unsafe_code = "forbid"