[package] description = "Substrate network common" name = "sc-network-common" version = "0.10.0-dev" license = "GPL-3.0-or-later WITH Classpath-exception-2.0" authors = ["Parity Technologies "] edition = "2021" homepage = "https://substrate.io" repository = "https://github.com/paritytech/substrate/" documentation = "https://docs.rs/sc-network-sync" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [build-dependencies] prost-build = "0.11" [dependencies] async-trait = "0.1.57" bitflags = "1.3.2" codec = { package = "parity-scale-codec", version = "3.6.1", features = [ "derive", ] } futures = "0.3.21" libp2p-identity = { version = "0.1.2", features = ["peerid"] } sc-consensus = { version = "0.10.0-dev", path = "../../consensus/common" } sp-consensus = { version = "0.10.0-dev", path = "../../../primitives/consensus/common" } sp-consensus-grandpa = { version = "4.0.0-dev", path = "../../../primitives/consensus/grandpa" } sp-runtime = { version = "24.0.0", path = "../../../primitives/runtime" } [dev-dependencies] tempfile = "3.1.0"