mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 14:37:57 +00:00
59d8b86450
* update libp2p to 0.52.0 * proto name now must implement `AsRef<str>` * update libp2p version everywhere * ToSwarm, FromBehaviour, ToBehaviour also LocalProtocolsChange and RemoteProtocolsChange * new NetworkBehaviour invariants * replace `Vec<u8>` with `StreamProtocol` * rename ConnectionHandlerEvent::Custom to NotifyBehaviour * remove DialError & ListenError invariants also fix pending_events * use connection_limits::Behaviour See https://github.com/libp2p/rust-libp2p/pull/3885 * impl `void::Void` for `BehaviourOut` also use `Behaviour::with_codec` * KademliaHandler no longer public * fix StreamProtocol construction * update libp2p-identify to 0.2.0 * remove non-existing methods from PollParameters rename ConnectionHandlerUpgrErr to StreamUpgradeError * `P2p` now contains `PeerId`, not `Multihash` * use multihash-codetable crate * update Cargo.lock * reformat text * comment out tests for now * remove `.into()` from P2p * confirm observed addr manually See https://github.com/libp2p/rust-libp2p/blob/master/protocols/identify/CHANGELOG.md#0430 * remove SwarmEvent::Banned since we're not using `ban_peer_id`, this can be safely removed. we may want to introduce `libp2p::allow_block_list` module in the future. * fix imports * replace `libp2p` with smaller deps in network-gossip * bring back tests * finish rewriting tests * uncomment handler tests * Revert "uncomment handler tests" This reverts commit 720a06815887f4e10767c62b58864a7ec3a48e50. * add a fixme * update Cargo.lock * remove extra From * make void uninhabited * fix discovery test * use autonat protocols confirming external addresses manually is unsafe in open networks * fix SyncNotificationsClogged invariant * only set server mode manually in tests doubt that we need to set it on node since we're adding public addresses * address @dmitry-markin comments * remove autonat * removed unused var * fix EOL * update smallvec and sha2 in attempt to compile polkadot * bump k256 in attempt to build cumulus --------- Co-authored-by: parity-processbot <>
57 lines
2.1 KiB
TOML
57 lines
2.1 KiB
TOML
[package]
|
|
name = "sc-cli"
|
|
version = "0.10.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
description = "Substrate CLI interface."
|
|
edition = "2021"
|
|
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
array-bytes = "6.1"
|
|
chrono = "0.4.10"
|
|
clap = { version = "4.2.5", features = ["derive", "string"] }
|
|
fdlimit = "0.2.1"
|
|
futures = "0.3.21"
|
|
libp2p-identity = { version = "0.2.0", features = ["peerid", "ed25519"]}
|
|
log = "0.4.17"
|
|
names = { version = "0.13.0", default-features = false }
|
|
parity-scale-codec = "3.6.1"
|
|
rand = "0.8.5"
|
|
regex = "1.6.0"
|
|
rpassword = "7.0.0"
|
|
serde = "1.0.163"
|
|
serde_json = "1.0.85"
|
|
thiserror = "1.0.30"
|
|
tiny-bip39 = "1.0.0"
|
|
tokio = { version = "1.22.0", features = ["signal", "rt-multi-thread", "parking_lot"] }
|
|
sc-client-api = { version = "4.0.0-dev", path = "../api" }
|
|
sc-client-db = { version = "0.10.0-dev", default-features = false, path = "../db" }
|
|
sc-keystore = { version = "4.0.0-dev", path = "../keystore" }
|
|
sc-network = { version = "0.10.0-dev", path = "../network" }
|
|
sc-service = { version = "0.10.0-dev", default-features = false, path = "../service" }
|
|
sc-telemetry = { version = "4.0.0-dev", path = "../telemetry" }
|
|
sc-tracing = { version = "4.0.0-dev", path = "../tracing" }
|
|
sc-utils = { version = "4.0.0-dev", path = "../utils" }
|
|
sp-blockchain = { version = "4.0.0-dev", path = "../../primitives/blockchain" }
|
|
sp-core = { version = "21.0.0", path = "../../primitives/core" }
|
|
sp-keyring = { version = "24.0.0", path = "../../primitives/keyring" }
|
|
sp-keystore = { version = "0.27.0", path = "../../primitives/keystore" }
|
|
sp-panic-handler = { version = "8.0.0", path = "../../primitives/panic-handler" }
|
|
sp-runtime = { version = "24.0.0", path = "../../primitives/runtime" }
|
|
sp-version = { version = "22.0.0", path = "../../primitives/version" }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.1.0"
|
|
futures-timer = "3.0.1"
|
|
sp-tracing = { version = "10.0.0", path = "../../primitives/tracing" }
|
|
|
|
[features]
|
|
default = ["rocksdb"]
|
|
rocksdb = ["sc-client-db/rocksdb"]
|