-
Notifications
You must be signed in to change notification settings - Fork 138
/
Cargo.toml
39 lines (35 loc) · 1.14 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
39
[package]
name = "mgm"
version = "0.5.0-pre.1"
description = "Generic implementation of the Multilinear Galois Mode (MGM) cipher"
authors = ["RustCrypto Developers"]
edition = "2021"
license = "Apache-2.0 OR MIT"
readme = "README.md"
documentation = "https://docs.rs/mgm"
homepage = "https://github.com/RustCrypto/AEADs"
repository = "https://github.com/RustCrypto/AEADs/tree/master/mgm"
categories = ["cryptography", "no-std"]
keywords = ["encryption", "aead"]
rust-version = "1.56"
[dependencies]
aead = { version = "0.5", default-features = false }
cipher = "0.3"
subtle = { version = "2", default-features = false }
cfg-if = "1"
[target.'cfg(any(target_arch = "x86_64", target_arch = "x86"))'.dependencies]
cpufeatures = "0.2"
[dev-dependencies]
aead = { version = "0.5", features = ["dev"], default-features = false }
kuznyechik = "0.7"
magma = "0.7"
hex-literal = "0.2"
[features]
default = ["alloc", "getrandom"]
std = ["aead/std", "alloc"]
alloc = ["aead/alloc"]
getrandom = ["aead/getrandom", "rand_core"]
heapless = ["aead/heapless"]
rand_core = ["aead/rand_core"]
stream = ["aead/stream"]
force-soft = [] # Disable support for hardware intrinsics