47 lines
1.3 KiB
TOML
Raw Normal View History

2017-10-30 10:22:38 +01:00
[package]
name = "libp2p-secio"
description = "Secio encryption protocol for libp2p"
2017-10-30 10:22:38 +01:00
version = "0.1.0"
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.5"
2017-10-30 10:22:38 +01:00
bytes = "0.4"
futures = "0.1"
libp2p-core = { version = "0.1.0", path = "../../core" }
2018-02-14 13:02:56 +01:00
log = "0.4.1"
protobuf = "2.0.2"
rand = "0.6"
2018-11-09 15:02:27 +01:00
secp256k1 = {version = "0.11", optional = true }
aes-ctr = "0.1.0"
aesni = { version = "0.4.1", features = ["nocheck"], optional = true }
twofish = "0.1.0"
ctr = "0.1"
lazy_static = { version = "1.2.0", optional = true }
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(target_os = "emscripten"))'.dependencies]
ring = { version = "0.12", default-features = false }
untrusted = { version = "0.5" }
[target.'cfg(target_os = "emscripten")'.dependencies]
stdweb = { version = "0.4.8", default-features = false }
2018-06-22 13:07:57 +02:00
[features]
default = ["rsa", "secp256k1"]
rsa = ["ring/rsa_signing"]
aes-all = ["aesni", "lazy_static"]
2018-06-22 13:07:57 +02:00
[dev-dependencies]
libp2p-tcp = { version = "0.1.0", path = "../../transports/tcp" }
tokio = "0.1"
2018-07-16 12:15:27 +02:00
tokio-tcp = "0.1"