[package]
edition = "2021"
rust-version = "1.71.0"
name = "wolfcrypt-ring-compat"
version = "1.16.2"
authors = [
"WolfSSL Inc",
"AWS-LibCrypto",
]
build = "build.rs"
links = "wolfcrypt_ring_compat_sys"
exclude = [
"third_party/NIST/*",
"tests/**/*",
"*.txt",
"*.p8",
"*.der",
"*.bin",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "wolfcrypt-ring-compat is a cryptographic library using wolfSSL for its cryptographic operations. This library strives to be API-compatible with the popular Rust library named ring."
homepage = "http://wolfssl.com"
documentation = "https://docs.rs/crate/wolfcrypt-ring-compat"
readme = "README.md"
keywords = [
"wolfcrypt",
"wolfssl",
"fips",
"ring",
"rustls",
]
categories = ["cryptography"]
license = "MIT"
repository = "https://github.com/wolfSSL/wolfssl-rs"
[package.metadata.docs.rs]
rustdoc-args = [
"--cfg",
"wolfcrypt_ring_compat_docsrs",
]
features = ["unstable"]
[package.metadata.cargo-udeps.ignore]
development = [
"which",
"home",
"regex",
"regex-automata",
"regex-syntax",
"proc-macro2",
"jobserver",
"cc",
"once_cell",
]
[features]
alloc = []
default = [
"wolfcrypt-rs",
"std",
"alloc",
"ring-io",
"ring-sig-verify",
]
dev-tests-only = []
fips = [
"wolfcrypt-rs",
"wolfcrypt-rs/fips",
]
non-fips = ["wolfcrypt-rs"]
ring-io = ["dep:untrusted"]
ring-sig-verify = ["dep:untrusted"]
std = ["alloc"]
test_logging = []
unstable = []
[lib]
name = "ring"
path = "src/lib.rs"
[[example]]
name = "cipher"
path = "examples/cipher.rs"
[[example]]
name = "digest"
path = "examples/digest.rs"
[dependencies.spin]
version = "0.9.8"
[dependencies.untrusted]
version = "0.7.1"
optional = true
[dependencies.wolfcrypt-rs]
version = "0.1.1"
optional = true
default-features = false
[dependencies.zeroize]
version = "1.8.1"
[dev-dependencies.clap]
version = "4.4"
features = ["derive"]
[dev-dependencies.hex]
version = "0.4.3"
[dev-dependencies.lazy_static]
version = "1.5.0"
[dev-dependencies.paste]
version = "1.0.15"
[dev-dependencies.regex]
version = "1.11.1"