53 lines
1.4 KiB
TOML
Raw Normal View History

2017-10-30 10:22:38 +01:00
[package]
name = "libp2p-secio"
edition = "2018"
description = "Secio encryption protocol for libp2p"
version = "0.2.1"
2017-10-30 10:22:38 +01:00
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT"
repository = "https://github.com/libp2p/rust-libp2p"
keywords = ["peer-to-peer", "libp2p", "networking"]
categories = ["network-programming", "asynchronous"]
2017-10-30 10:22:38 +01:00
[dependencies]
asn1_der = "0.6.1"
2017-10-30 10:22:38 +01:00
bytes = "0.4"
futures = "0.1"
2019-01-10 13:27:45 +01:00
libp2p-core = { version = "0.2.0", path = "../../core" }
2018-02-14 13:02:56 +01:00
log = "0.4.1"
protobuf = "2.0.2"
rand = "0.6"
secp256k1 = { version = "0.12", features = ["rand"], optional = true }
aes-ctr = "0.3"
aesni = { version = "0.6", features = ["nocheck"], optional = true }
twofish = "0.2.0"
ctr = "0.3"
lazy_static = "1.2.0"
rw-stream-sink = { version = "0.1.0", path = "../../misc/rw-stream-sink" }
2017-10-30 10:22:38 +01:00
tokio-io = "0.1.0"
sha2 = "0.7.1"
ed25519-dalek = "0.8.0"
hmac = "0.6.3"
[target.'cfg(not(any(target_os = "emscripten", target_os = "unknown")))'.dependencies]
2019-01-13 15:52:12 +01:00
ring = { version = "0.13", features = ["use_heap"], default-features = false }
2019-01-10 11:17:44 +01:00
untrusted = { version = "0.6" }
[target.'cfg(any(target_os = "emscripten", target_os = "unknown"))'.dependencies]
stdweb = { version = "0.4", default-features = false }
2018-06-22 13:07:57 +02:00
[features]
default = ["rsa", "secp256k1"]
rsa = ["ring/rsa_signing"]
aes-all = ["aesni"]
2018-06-22 13:07:57 +02:00
[dev-dependencies]
criterion = "0.2"
2019-01-10 13:27:45 +01:00
libp2p-tcp = { version = "0.2.0", path = "../../transports/tcp" }
tokio = "0.1"
2018-07-16 12:15:27 +02:00
tokio-tcp = "0.1"
[[bench]]
name = "bench"
harness = false