forked from RustCrypto/traits
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
43 lines (39 loc) · 1.43 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
40
41
42
43
[package]
name = "crypto"
version = "0.5.0-pre" # Also update html_root_url in lib.rs when bumping this
description = """
Resources for building cryptosystems in Rust using the RustCrypto project's ecosystem.
"""
authors = ["The RustCrypto Project Developers"]
license = "Apache-2.0 OR MIT"
documentation = "https://docs.rs/crypto"
repository = "https://github.com/RustCrypto/traits"
keywords = ["crypto", "encryption", "rustcrypto"]
categories = ["cryptography", "no-std"]
readme = "README.md"
edition = "2021"
rust-version = "1.60"
[dependencies]
crypto-common = { version = "0.1", default-features = false }
# optional dependencies
aead = { version = "0.5", optional = true, path = "../aead" }
cipher = { version = "0.4", optional = true }
digest = { version = "0.10", optional = true, features = ["mac"] }
elliptic-curve = { version = "0.12", optional = true } # path = "../elliptic-curve"
password-hash = { version = "=0.5.0-pre.1", optional = true, path = "../password-hash" }
signature = { version = "2", optional = true, default-features = false, path = "../signature" }
universal-hash = { version = "0.5", optional = true, path = "../universal-hash" }
[features]
std = [
"aead/std",
"cipher/std",
"digest/std",
"elliptic-curve/std",
"password-hash/std",
"signature/std",
"universal-hash/std"
]
getrandom = ["crypto-common/getrandom"]
rand_core = ["crypto-common/rand_core"]
[package.metadata.docs.rs]
all-features = true