mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-01 04:01:20 +00:00
* feat: upgrade to multihash 0.13 `multihash` changes a lot internally, it is using stack allocation instead of heap allocation. This leads to a few limitations in regards on how `Multihash` can be used. Therefore `PeerId` is now using a `Bytes` internally so that only minimal changes are needed. * Update versions and changelogs. Co-authored-by: Roman Borschel <romanb@users.noreply.github.com> Co-authored-by: Roman S. Borschel <roman@parity.io>
39 lines
1021 B
TOML
39 lines
1021 B
TOML
[package]
|
|
name = "libp2p-noise"
|
|
description = "Cryptographic handshake protocol using the noise framework."
|
|
version = "0.27.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
license = "MIT"
|
|
repository = "https://github.com/libp2p/rust-libp2p"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
bytes = "0.5"
|
|
curve25519-dalek = "3.0.0"
|
|
futures = "0.3.1"
|
|
lazy_static = "1.2"
|
|
libp2p-core = { version = "0.25.0", path = "../../core" }
|
|
log = "0.4"
|
|
prost = "0.6.1"
|
|
rand = "0.7.2"
|
|
sha2 = "0.9.1"
|
|
static_assertions = "1"
|
|
x25519-dalek = "1.1.0"
|
|
zeroize = "1"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
snow = { version = "0.7.1", features = ["ring-resolver"], default-features = false }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
snow = { version = "0.7.1", features = ["default-resolver"], default-features = false }
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.8.1"
|
|
libp2p-tcp = { path = "../../transports/tcp", features = ["async-std"] }
|
|
quickcheck = "0.9.0"
|
|
sodiumoxide = "0.2.5"
|
|
|
|
[build-dependencies]
|
|
prost-build = "0.6"
|
|
|