28 lines
953 B
TOML
28 lines
953 B
TOML
[package]
|
|
name = "ccc-crypto-awslc"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
description = "AWS-LC (aws-lc-rs) provider for the CCC crypto system; FIPS 140-3 with the `fips` feature."
|
|
|
|
[dependencies]
|
|
ccc-crypto-core.workspace = true
|
|
zeroize.workspace = true
|
|
log.workspace = true
|
|
# Apache-2.0 OR ISC. The backend (`aws-lc-sys` or `aws-lc-fips-sys`) is
|
|
# chosen by this crate's features below.
|
|
aws-lc-rs = { version = "1.19", default-features = false, features = ["alloc"] }
|
|
|
|
[features]
|
|
default = ["non-fips"]
|
|
# The open-source AWS-LC build (`aws-lc-sys`).
|
|
non-fips = ["aws-lc-rs/aws-lc-sys"]
|
|
# AWS-LC-FIPS (`aws-lc-fips-sys`), the FIPS 140-3 validated module. aws-lc-rs
|
|
# uses it whenever this feature is on; for a build without the unused
|
|
# open-source backend, use `--no-default-features --features fips`.
|
|
fips = ["aws-lc-rs/fips"]
|
|
|
|
[dev-dependencies]
|
|
hex = "0.4"
|