2017-10-30 10:22:38 +01:00
|
|
|
[package]
|
|
|
|
name = "libp2p-secio"
|
2018-12-06 19:22:06 +01:00
|
|
|
description = "Secio encryption protocol for libp2p"
|
2017-10-30 10:22:38 +01:00
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
2018-07-21 12:15:42 +02:00
|
|
|
license = "MIT"
|
2018-12-06 19:22:06 +01:00
|
|
|
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]
|
2018-06-20 09:47:43 +02:00
|
|
|
asn1_der = "0.5"
|
2017-10-30 10:22:38 +01:00
|
|
|
bytes = "0.4"
|
|
|
|
futures = "0.1"
|
2018-12-11 14:54:44 +01:00
|
|
|
libp2p-core = { version = "0.1.0", path = "../../core" }
|
2018-02-14 13:02:56 +01:00
|
|
|
log = "0.4.1"
|
2018-07-10 20:07:28 +08:00
|
|
|
protobuf = "2.0.2"
|
2018-11-27 10:35:47 +01:00
|
|
|
rand = "0.6"
|
2018-11-09 15:02:27 +01:00
|
|
|
secp256k1 = {version = "0.11", optional = true }
|
2018-09-17 10:05:37 +02:00
|
|
|
aes-ctr = "0.1.0"
|
|
|
|
aesni = { version = "0.4.1", features = ["nocheck"], optional = true }
|
|
|
|
twofish = "0.1.0"
|
|
|
|
ctr = "0.1"
|
2018-11-27 10:35:47 +01:00
|
|
|
lazy_static = { version = "1.2.0", optional = true }
|
2018-12-11 14:54:44 +01:00
|
|
|
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"
|
2018-10-01 15:42:40 +02:00
|
|
|
sha2 = "0.7.1"
|
|
|
|
ed25519-dalek = "0.8.0"
|
|
|
|
hmac = "0.6.3"
|
|
|
|
|
|
|
|
[target.'cfg(not(target_os = "emscripten"))'.dependencies]
|
2018-10-09 11:21:35 +02:00
|
|
|
ring = { version = "0.12", default-features = false }
|
|
|
|
untrusted = { version = "0.5" }
|
2018-10-01 15:42:40 +02:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "emscripten")'.dependencies]
|
|
|
|
stdweb = { version = "0.4.8", default-features = false }
|
2017-12-04 16:18:27 +01:00
|
|
|
|
2018-06-22 13:07:57 +02:00
|
|
|
[features]
|
2018-10-01 15:42:40 +02:00
|
|
|
default = ["rsa", "secp256k1"]
|
2018-10-09 11:21:35 +02:00
|
|
|
rsa = ["ring/rsa_signing"]
|
2018-10-01 15:42:40 +02:00
|
|
|
aes-all = ["aesni", "lazy_static"]
|
2018-06-22 13:07:57 +02:00
|
|
|
|
2017-12-04 16:18:27 +01:00
|
|
|
[dev-dependencies]
|
2018-12-11 14:54:44 +01:00
|
|
|
libp2p-tcp = { version = "0.1.0", path = "../../transports/tcp" }
|
2018-10-25 05:26:37 -04:00
|
|
|
tokio = "0.1"
|
2018-07-16 12:15:27 +02:00
|
|
|
tokio-tcp = "0.1"
|