-
Notifications
You must be signed in to change notification settings - Fork 30
/
Cargo.toml
52 lines (45 loc) · 1.33 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
[package]
name = "orion"
version = "0.17.7"
authors = ["brycx <[email protected]>"]
description = "Usable, easy and safe pure-Rust crypto"
keywords = ["cryptography", "crypto", "aead", "hash", "mac"]
categories = ["cryptography", "no-std"]
edition = "2021"
rust-version = "1.80" # Update CI (MSRV) 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.2.1", 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 = []
experimental = []
[dev-dependencies]
hex = "0.4.0"
serde_json = "1.0.41"
serde = { version = "1.0", features = ["derive"] }
quickcheck = "1"
quickcheck_macros = "1"
criterion = "0.5.0"
[[bench]]
name = "bench"
harness = false
[profile.dev]
opt-level = 1
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]