mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +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 <>
97 lines
4.0 KiB
TOML
97 lines
4.0 KiB
TOML
[package]
|
|
name = "frame-support"
|
|
version = "4.0.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "Support code for the runtime."
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0.163", default-features = false, features = ["alloc", "derive"] }
|
|
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive", "max-encoded-len"] }
|
|
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
|
|
frame-metadata = { version = "16.0.0", default-features = false, features = ["current"] }
|
|
sp-api = { version = "4.0.0-dev", default-features = false, path = "../../primitives/api", features = [ "frame-metadata" ] }
|
|
sp-std = { version = "8.0.0", default-features = false, path = "../../primitives/std" }
|
|
sp-io = { version = "23.0.0", default-features = false, path = "../../primitives/io" }
|
|
sp-runtime = { version = "24.0.0", default-features = false, path = "../../primitives/runtime" }
|
|
sp-tracing = { version = "10.0.0", default-features = false, path = "../../primitives/tracing" }
|
|
sp-core = { version = "21.0.0", default-features = false, path = "../../primitives/core" }
|
|
sp-arithmetic = { version = "16.0.0", default-features = false, path = "../../primitives/arithmetic" }
|
|
sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../../primitives/inherents" }
|
|
sp-staking = { version = "4.0.0-dev", default-features = false, path = "../../primitives/staking" }
|
|
sp-weights = { version = "20.0.0", default-features = false, path = "../../primitives/weights" }
|
|
sp-debug-derive = { default-features = false, path = "../../primitives/debug-derive" }
|
|
tt-call = "1.0.8"
|
|
macro_magic = "0.4.2"
|
|
frame-support-procedural = { version = "4.0.0-dev", default-features = false, path = "./procedural" }
|
|
paste = "1.0"
|
|
sp-state-machine = { version = "0.28.0", default-features = false, optional = true, path = "../../primitives/state-machine" }
|
|
bitflags = "1.3"
|
|
impl-trait-for-tuples = "0.2.2"
|
|
smallvec = "1.11.0"
|
|
log = { version = "0.4.17", default-features = false }
|
|
sp-core-hashing-proc-macro = { version = "9.0.0", path = "../../primitives/core/hashing/proc-macro" }
|
|
k256 = { version = "0.13.1", default-features = false, features = ["ecdsa"] }
|
|
environmental = { version = "1.1.4", default-features = false }
|
|
sp-genesis-builder = { version = "0.1.0", default-features=false, path = "../../primitives/genesis-builder" }
|
|
serde_json = { version = "1.0.85", default-features = false, features = ["alloc"] }
|
|
|
|
aquamarine = { version = "0.3.2" }
|
|
|
|
[dev-dependencies]
|
|
assert_matches = "1.3.0"
|
|
pretty_assertions = "1.2.1"
|
|
frame-system = { version = "4.0.0-dev", path = "../system" }
|
|
array-bytes = "6.1"
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"sp-core/std",
|
|
"k256/std",
|
|
"serde/std",
|
|
"sp-api/std",
|
|
"sp-io/std",
|
|
"codec/std",
|
|
"scale-info/std",
|
|
"sp-std/std",
|
|
"sp-runtime/std",
|
|
"sp-tracing/std",
|
|
"sp-arithmetic/std",
|
|
"frame-metadata/std",
|
|
"sp-inherents/std",
|
|
"sp-staking/std",
|
|
"sp-state-machine/std",
|
|
"sp-weights/std",
|
|
"frame-support-procedural/std",
|
|
"log/std",
|
|
"environmental/std",
|
|
"sp-genesis-builder/std"
|
|
]
|
|
runtime-benchmarks = [
|
|
"frame-system/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"sp-staking/runtime-benchmarks"
|
|
]
|
|
try-runtime = [
|
|
"sp-debug-derive/force-debug"
|
|
]
|
|
experimental = []
|
|
# By default some types have documentation, `no-metadata-docs` allows to reduce the documentation
|
|
# in the metadata.
|
|
no-metadata-docs = ["frame-support-procedural/no-metadata-docs", "sp-api/no-metadata-docs"]
|
|
# By default some types have documentation, `full-metadata-docs` allows to add documentation to
|
|
# more types in the metadata.
|
|
full-metadata-docs = ["scale-info/docs"]
|
|
# Generate impl-trait for tuples with the given number of tuples. Will be needed as the number of
|
|
# pallets in a runtime grows. Does increase the compile time!
|
|
tuples-96 = ["frame-support-procedural/tuples-96"]
|
|
tuples-128 = ["frame-support-procedural/tuples-128"]
|