# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "fluence-fork-libp2p-core"
version = "0.27.2"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Core traits and structs of libp2p"
keywords = ["peer-to-peer", "libp2p", "networking"]
categories = ["network-programming", "asynchronous"]
license = "MIT"
repository = "https://github.com/libp2p/rust-libp2p"
[package.metadata.workspaces]
independent = true

[lib]
name = "libp2p_core"

[[bench]]
name = "peer_id"
harness = false
[dependencies.asn1_der]
version = "0.6.1"

[dependencies.bs58]
version = "0.4.0"

[dependencies.ed25519-dalek]
version = "1.0.1"

[dependencies.either]
version = "1.5"

[dependencies.fnv]
version = "1.0"

[dependencies.futures]
version = "0.3.1"
features = ["executor", "thread-pool"]

[dependencies.futures-timer]
version = "3"

[dependencies.lazy_static]
version = "1.2"

[dependencies.libsecp256k1]
version = "0.3.1"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.multiaddr]
version = "0.11"
package = "fluence-fork-parity-multiaddr"

[dependencies.multihash]
version = "0.13"
features = ["std", "multihash-impl", "identity", "sha2"]
default-features = false

[dependencies.multistream-select]
version = "0.10"
package = "fluence-fork-multistream-select"

[dependencies.parking_lot]
version = "0.11.0"

[dependencies.pin-project]
version = "1.0.0"

[dependencies.prost]
version = "0.7"

[dependencies.rand]
version = "0.7"

[dependencies.rw-stream-sink]
version = "0.2.0"

[dependencies.serde]
version = "1.0.114"
default-features = false

[dependencies.sha2]
version = "0.9.1"

[dependencies.smallvec]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.unsigned-varint]
version = "0.7"

[dependencies.void]
version = "1"

[dependencies.zeroize]
version = "1"
[dev-dependencies.async-std]
version = "1.6.2"
features = ["attributes"]

[dev-dependencies.criterion]
version = "0.3"

[dev-dependencies.multihash]
version = "0.13"
features = ["arb"]
default-features = false

[dev-dependencies.quickcheck]
version = "0.9.0"

[dev-dependencies.wasm-timer]
version = "0.2"
[build-dependencies.prost-build]
version = "0.7"

[features]
default = ["secp256k1"]
secp256k1 = ["libsecp256k1"]
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.ring]
version = "0.16.9"
features = ["alloc", "std"]
default-features = false
