[package] name = "tet-libp2p-core" edition = "2018" description = "Core traits and structs of tet-libp2p" version = "0.27.0" authors = ["Parity Technologies ", "Tetcoin Developers "] license = "MIT" repository = "https://github.com/tetcoin/tet-libp2p" keywords = ["tetcoin", "tetcore", "crypto", "blockchain", "framework"] categories = ["cryptography::cryptocurrencies", "network-programming", "asynchronous"] homepage = "https://core.tetcoin.org" documentation = "https://docs.rs/tet-libp2p-core" [dependencies] asn1_der = "0.6.1" bs58 = "0.4.0" ed25519-dalek = "1.0.1" either = "1.5" fnv = "1.0" futures = { version = "0.3.1", features = ["executor", "thread-pool"] } futures-timer = "3" lazy_static = "1.2" libsecp256k1 = { version = "0.3.1", optional = true } log = "0.4" multiaddr = { package = "tet-multiaddr", version = "0.11", path = "../misc/multiaddr" } multihash = { version = "0.13", default-features = false, features = ["std", "multihash-impl", "identity", "sha2"] } tet-multistream-select = { version = "0.10", path = "../misc/multistream-select" } parking_lot = "0.11.0" pin-project = "1.0.0" prost = "0.7" rand = "0.7" rw-stream-sink = "0.2.0" sha2 = "0.9.1" smallvec = "1.0" thiserror = "1.0" unsigned-varint = "0.6" void = "1" zeroize = "1" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] ring = { version = "0.16.9", features = ["alloc", "std"], default-features = false } [dev-dependencies] async-std = { version = "1.6.2", features = ["attributes"] } criterion = "0.3" mplex = { path = "../muxers/mplex" } tet-libp2p-noise = { path = "../protocols/noise" } tet-libp2p-tcp = { path = "../transports/tcp" } multihash = { version = "0.13", default-features = false, features = ["arb"] } quickcheck = "0.9.0" wasm-timer = "0.2" [build-dependencies] prost-build = "0.7" [features] default = ["secp256k1"] secp256k1 = ["libsecp256k1"] [[bench]] name = "peer_id" harness = false