[package]
edition = "2024"
rust-version = "1.85"
name = "tc_rc_cipher"
version = "0.1.0"
build = false
include = [
"src/**",
"tests/**",
"README.md",
"CHANGELOG.md",
"LICENSE-MIT",
"LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RC2, RC5 and RC6 block ciphers for legacy interoperability, with an optional RustCrypto RC2 engine."
documentation = "https://docs.rs/tc_rc_cipher"
readme = "README.md"
keywords = [
"rc2",
"rc5",
"rc6",
"block-cipher",
"no-std",
]
categories = [
"cryptography",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/TomiCheng/tc_block_cipher"
[package.metadata.docs.rs]
all-features = true
[features]
alloc = ["tc_zeroize/alloc"]
default = []
rustcrypto = [
"dep:rc2",
"rc2/zeroize",
]
[lib]
name = "tc_rc_cipher"
path = "src/lib.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "documentation"
path = "tests/documentation.rs"
[[test]]
name = "rc2_contract"
path = "tests/rc2_contract.rs"
[[test]]
name = "rc2_kat"
path = "tests/rc2_kat.rs"
[[test]]
name = "rc5_contract"
path = "tests/rc5_contract.rs"
[[test]]
name = "rc5_kat"
path = "tests/rc5_kat.rs"
[[test]]
name = "rc6_contract"
path = "tests/rc6_contract.rs"
[[test]]
name = "rc6_kat"
path = "tests/rc6_kat.rs"
[dependencies.rc2]
version = "0.9"
optional = true
[dependencies.tc_block_cipher]
version = "0.1.0"
[dependencies.tc_zeroize]
version = "0.1.0"