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"
|
2021-01-12 12:48:37 +01:00
|
|
|
version = "0.27.0"
|
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
|
|
|
|
2020-09-07 12:13:10 +02:00
|
|
|
[badges]
|
|
|
|
maintenance = { status = "deprecated" }
|
|
|
|
|
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"
|
2020-09-14 13:31:20 +02:00
|
|
|
hmac = "0.9.0"
|
2019-01-15 17:14:58 +01:00
|
|
|
lazy_static = "1.2.0"
|
2021-01-12 12:48:37 +01:00
|
|
|
libp2p-core = { version = "0.27.0", path = "../../core" }
|
2019-11-14 13:42:14 +01:00
|
|
|
log = "0.4.6"
|
2020-01-23 11:06:11 +01:00
|
|
|
prost = "0.6.1"
|
2020-10-14 11:17:15 +02:00
|
|
|
pin-project = "1.0.0"
|
2019-12-18 16:31:31 +01:00
|
|
|
quicksink = "0.1"
|
2019-12-09 16:34:13 +01:00
|
|
|
rand = "0.7"
|
2020-02-12 13:23:08 +01:00
|
|
|
rw-stream-sink = "0.2.0"
|
2020-09-14 13:31:20 +02:00
|
|
|
sha2 = "0.9.1"
|
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
|
|
|
|
2020-01-15 12:02:02 +01:00
|
|
|
[build-dependencies]
|
|
|
|
prost-build = "0.6"
|
|
|
|
|
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]
|
2020-06-29 17:24:38 +02:00
|
|
|
async-std = "1.6.2"
|
2019-11-14 13:42:14 +01:00
|
|
|
criterion = "0.3"
|
2020-06-18 10:27:47 +02:00
|
|
|
libp2p-mplex = { path = "../../muxers/mplex" }
|
2021-01-12 13:35:11 +01:00
|
|
|
libp2p-tcp = { path = "../../transports/tcp" }
|