forked from mcginty/snow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
64 lines (55 loc) · 1.88 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
56
57
58
59
60
61
62
63
[package]
name = "snow"
description = "A pure-rust implementation of the Noise Protocol Framework"
homepage = "https://snow.rs"
documentation = "https://snow.rs/doc/snow"
repository = "https://github.com/mcginty/snow"
version = "0.4.1"
authors = ["Jake McGinty <[email protected]>", "trevp"]
license = "Unlicense"
categories = ["cryptography"]
readme = "README.md"
keywords = ["noise", "protocol", "crypto"]
[features]
default = ["default-resolver"]
nightly = ["blake2-rfc/simd_opt", "chacha20-poly1305-aead/simd_opt", "x25519-dalek/nightly"]
default-resolver = ["chacha20-poly1305-aead", "blake2-rfc", "rust-crypto", "x25519-dalek", "rand"]
hacl-star-resolver = ["hacl-star"]
hacl-star-accelerated = ["hacl-star-resolver", "default-resolver"]
ring-resolver = ["ring"]
ring-accelerated = ["ring-resolver", "default-resolver"]
vector-tests = []
[[bench]]
name = "benches"
harness = false
[badges]
travis-ci = { repository = "mcginty/snow", branch = "master" }
appveyor = { repository = "mcginty/snow", branch = "master", service = "github" }
[dependencies]
arrayref = "^0.3"
byteorder = "^1.2"
failure = "^0.1"
failure_derive = "^0.1"
smallvec = "^0.6.3"
static_slice = "0.0.3"
chacha20-poly1305-aead = { version = "^0.1", optional = true }
blake2-rfc = { version = "^0.2", optional = true }
rust-crypto = { version = "^0.2", optional = true }
hacl-star = { version = "=0.0.11", optional = true }
rand = { version = "^0.6", optional = true }
ring = { version = "^0.14.0", optional = true }
x25519-dalek = { version = "^0.4", optional = true, default-features = false, features = ["std", "u64_backend"] }
[dev-dependencies]
clap = "^2.0"
criterion = "0.2"
serde = "^1.0"
serde_json = "^1.0"
serde_derive = "^1.0"
hex = "^0.3"
lazy_static = "^1.0"
[build-dependencies]
rustc_version = "^0.2"
[package.metadata.docs.rs]
features = [ "ring-resolver", "hacl-star-resolver" ]
all-features = false
no-default-features = false