-
Notifications
You must be signed in to change notification settings - Fork 169
/
Cargo.toml
38 lines (34 loc) · 1.18 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "aead"
version = "0.5.0-pre.2" # Also update html_root_url in lib.rs when bumping this
description = """
Traits for Authenticated Encryption with Associated Data (AEAD) algorithms,
such as AES-GCM as ChaCha20Poly1305, which provide a high-level API
"""
authors = ["RustCrypto Developers"]
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
documentation = "https://docs.rs/aead"
repository = "https://github.com/RustCrypto/traits"
keywords = ["crypto", "encryption"]
categories = ["cryptography", "no-std"]
rust-version = "1.56"
[dependencies]
crypto-common = { version = "0.1.4", path = "../crypto-common" }
generic-array = { version = "0.14", default-features = false }
# optional dependencies
blobby = { version = "0.3", optional = true }
bytes = { version = "1", optional = true, default-features = false }
heapless = { version = "0.7", optional = true, default-features = false }
[features]
default = ["rand_core"]
alloc = []
std = ["alloc", "crypto-common/std"]
dev = ["blobby"]
getrandom = ["crypto-common/getrandom", "rand_core"]
rand_core = ["crypto-common/rand_core"]
stream = []
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]