| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.56" |
| 15 |
name = "cipher" |
| 16 |
version = "0.4.4" |
| 17 |
authors = ["RustCrypto Developers"] |
| 18 |
description = "Traits for describing block ciphers and stream ciphers" |
| 19 |
documentation = "https://docs.rs/cipher" |
| 20 |
readme = "README.md" |
| 21 |
keywords = [ |
| 22 |
"crypto", |
| 23 |
"block-cipher", |
| 24 |
"stream-cipher", |
| 25 |
"trait", |
| 26 |
] |
| 27 |
categories = [ |
| 28 |
"cryptography", |
| 29 |
"no-std", |
| 30 |
] |
| 31 |
license = "MIT OR Apache-2.0" |
| 32 |
repository = "https://github.com/RustCrypto/traits" |
| 33 |
|
| 34 |
[package.metadata.docs.rs] |
| 35 |
all-features = true |
| 36 |
rustdoc-args = [ |
| 37 |
"--cfg", |
| 38 |
"docsrs", |
| 39 |
] |
| 40 |
|
| 41 |
[dependencies.blobby] |
| 42 |
version = "0.3" |
| 43 |
optional = true |
| 44 |
|
| 45 |
[dependencies.crypto-common] |
| 46 |
version = "0.1.6" |
| 47 |
|
| 48 |
[dependencies.inout] |
| 49 |
version = "0.1" |
| 50 |
|
| 51 |
[dependencies.zeroize] |
| 52 |
version = "1.5" |
| 53 |
optional = true |
| 54 |
default-features = false |
| 55 |
|
| 56 |
[features] |
| 57 |
alloc = [] |
| 58 |
block-padding = ["inout/block-padding"] |
| 59 |
dev = ["blobby"] |
| 60 |
rand_core = ["crypto-common/rand_core"] |
| 61 |
std = [ |
| 62 |
"alloc", |
| 63 |
"crypto-common/std", |
| 64 |
"inout/std", |
| 65 |
] |