forked from orion-rs/orion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
55 lines (48 loc) · 1.34 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
44
45
46
47
48
49
50
51
52
53
54
55
[package]
name = "orion"
version = "0.17.1" # Update html_root_url in lib.rs along with this.
authors = ["brycx <[email protected]>"]
description = "Usable, easy and safe pure-Rust crypto"
keywords = [ "cryptography", "crypto", "aead", "hash", "mac" ]
categories = [ "cryptography", "no-std" ]
edition = "2018"
rust-version = "1.52" # Update CI test along with this.
readme = "README.md"
repository = "https://github.com/orion-rs/orion"
documentation = "https://docs.rs/orion"
license = "MIT"
exclude = [
".gitignore",
".travis.yml",
"tests/*"
]
[dependencies]
subtle = { version = "^2.2.2", default-features = false }
zeroize = { version = "1.1.0", default-features = false }
fiat-crypto = {version = "0.1.11", default-features = false}
getrandom = { version = "0.2.0", optional = true }
ct-codecs = { version = "1.1.1", optional = true }
[dependencies.serde]
version = "1.0.124"
optional = true
default-features = false
features = ["alloc"]
[features]
default = [ "safe_api" ]
safe_api = [ "getrandom", "ct-codecs" ]
alloc = []
[dev-dependencies]
hex = "0.4.0"
serde_json = "1.0.41"
serde = { version = "1.0", features = ["derive"] }
quickcheck = "1"
quickcheck_macros = "1"
criterion = "0.3.0"
[[bench]]
name = "bench"
harness = false
[profile.dev]
opt-level = 1
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]