86 lines
1.9 KiB
TOML
86 lines
1.9 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2018"
|
|
name = "chacha20"
|
|
version = "0.8.2"
|
|
authors = ["RustCrypto Developers"]
|
|
description = """
|
|
The ChaCha20 stream cipher (RFC 8439) implemented in pure Rust using traits
|
|
from the RustCrypto `cipher` crate, with optional architecture-specific
|
|
hardware acceleration (AVX2, SSE2). Additionally provides the ChaCha8, ChaCha12,
|
|
XChaCha20, XChaCha12 and XChaCha8 stream ciphers, and also optional
|
|
rand_core-compatible RNGs based on those ciphers.
|
|
"""
|
|
readme = "README.md"
|
|
keywords = [
|
|
"crypto",
|
|
"stream-cipher",
|
|
"chacha8",
|
|
"chacha12",
|
|
"xchacha20",
|
|
]
|
|
categories = [
|
|
"cryptography",
|
|
"no-std",
|
|
]
|
|
license = "Apache-2.0 OR MIT"
|
|
repository = "https://github.com/RustCrypto/stream-ciphers"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = [
|
|
"legacy",
|
|
"rng",
|
|
"std",
|
|
]
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
|
|
[dependencies.cfg-if]
|
|
version = "1"
|
|
|
|
[dependencies.cipher]
|
|
version = "0.3"
|
|
optional = true
|
|
|
|
[dependencies.rand_core]
|
|
version = "0.6"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.zeroize]
|
|
version = "1"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dev-dependencies.cipher]
|
|
version = "0.3"
|
|
features = ["dev"]
|
|
|
|
[dev-dependencies.hex-literal]
|
|
version = "0.2"
|
|
|
|
[features]
|
|
default = ["cipher"]
|
|
expose-core = []
|
|
force-soft = []
|
|
hchacha = ["cipher"]
|
|
legacy = ["cipher"]
|
|
neon = []
|
|
rng = ["rand_core"]
|
|
std = ["cipher/std"]
|
|
|
|
[target."cfg(any(target_arch = \"x86_64\", target_arch = \"x86\"))".dependencies.cpufeatures]
|
|
version = "0.2"
|