2017-10-30 10:22:38 +01:00
|
|
|
[package]
|
|
|
|
name = "libp2p-secio"
|
2018-12-13 18:54:28 +01:00
|
|
|
edition = "2018"
|
2018-12-06 19:22:06 +01:00
|
|
|
description = "Secio encryption protocol for libp2p"
|
2020-01-07 15:30:39 +01:00
|
|
|
version = "0.14.0-alpha.1"
|
2017-10-30 10:22:38 +01:00
|
|
|
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]
|
2019-01-17 11:31:46 +01:00
|
|
|
aes-ctr = "0.3"
|
|
|
|
aesni = { version = "0.6", features = ["nocheck"], optional = true }
|
|
|
|
ctr = "0.3"
|
2019-11-14 13:42:14 +01:00
|
|
|
futures = "0.3.1"
|
|
|
|
hmac = "0.7.0"
|
2019-01-15 17:14:58 +01:00
|
|
|
lazy_static = "1.2.0"
|
2020-01-07 15:30:39 +01:00
|
|
|
libp2p-core = { version = "0.14.0-alpha.1", path = "../../core" }
|
2019-11-14 13:42:14 +01:00
|
|
|
log = "0.4.6"
|
2020-01-14 12:03:10 +01:00
|
|
|
pin-project = "0.4.6"
|
2020-01-02 17:47:41 +01:00
|
|
|
protobuf = "=2.8.1" # note: see https://github.com/libp2p/rust-libp2p/issues/1363
|
2019-12-18 16:31:31 +01:00
|
|
|
quicksink = "0.1"
|
2019-12-09 16:34:13 +01:00
|
|
|
rand = "0.7"
|
2020-01-07 15:54:39 +01:00
|
|
|
rw-stream-sink = { version = "0.2.0", path = "../../misc/rw-stream-sink" }
|
2019-02-08 08:56:31 +01:00
|
|
|
sha2 = "0.8.0"
|
2019-12-09 16:34:13 +01:00
|
|
|
static_assertions = "1"
|
2019-11-14 13:42:14 +01:00
|
|
|
twofish = "0.2.0"
|
2018-10-01 15:42:40 +02:00
|
|
|
|
2019-04-10 18:52:31 -03:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2019-11-06 16:09:15 +01:00
|
|
|
ring = { version = "0.16.9", features = ["alloc"], default-features = false }
|
2018-10-01 15:42:40 +02:00
|
|
|
|
2019-04-10 18:52:31 -03:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
|
js-sys = "0.3.10"
|
2019-05-23 14:04:09 +02:00
|
|
|
parity-send-wrapper = "0.1"
|
2019-04-10 18:52:31 -03:00
|
|
|
wasm-bindgen = "0.2.33"
|
2019-11-26 11:48:47 +01:00
|
|
|
wasm-bindgen-futures = "0.4.5"
|
2019-04-10 18:52:31 -03:00
|
|
|
web-sys = { version = "0.3.10", features = ["Crypto", "CryptoKey", "SubtleCrypto", "Window"] }
|
2017-12-04 16:18:27 +01:00
|
|
|
|
2018-06-22 13:07:57 +02:00
|
|
|
[features]
|
2019-01-23 16:09:52 +01:00
|
|
|
default = ["secp256k1"]
|
2019-05-14 19:33:30 +02:00
|
|
|
secp256k1 = []
|
2019-01-15 17:14:58 +01:00
|
|
|
aes-all = ["aesni"]
|
2018-06-22 13:07:57 +02:00
|
|
|
|
2017-12-04 16:18:27 +01:00
|
|
|
[dev-dependencies]
|
2019-11-14 13:42:14 +01:00
|
|
|
async-std = "1.0"
|
|
|
|
criterion = "0.3"
|
2020-01-07 15:30:39 +01:00
|
|
|
libp2p-mplex = { version = "0.14.0-alpha.1", path = "../../muxers/mplex" }
|
|
|
|
libp2p-tcp = { version = "0.14.0-alpha.1", path = "../../transports/tcp" }
|
2019-01-11 12:11:43 +01:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "bench"
|
|
|
|
harness = false
|