mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 16:21:02 +00:00
prepare orchestra crate publishing (#5579)
This commit is contained in:
committed by
GitHub
parent
d0453cf24d
commit
fd51ecbe70
Generated
+23
-23
@@ -4324,23 +4324,6 @@ dependencies = [
|
|||||||
"zeroize",
|
"zeroize",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "metered-channel"
|
|
||||||
version = "0.9.22"
|
|
||||||
dependencies = [
|
|
||||||
"assert_matches",
|
|
||||||
"coarsetime",
|
|
||||||
"crossbeam-queue",
|
|
||||||
"derive_more",
|
|
||||||
"env_logger 0.9.0",
|
|
||||||
"futures 0.3.21",
|
|
||||||
"futures-timer",
|
|
||||||
"log",
|
|
||||||
"nanorand",
|
|
||||||
"thiserror",
|
|
||||||
"tracing",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "mick-jaeger"
|
name = "mick-jaeger"
|
||||||
version = "0.1.8"
|
version = "0.1.8"
|
||||||
@@ -4827,15 +4810,15 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "orchestra"
|
name = "orchestra"
|
||||||
version = "0.9.22"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"dyn-clonable",
|
"dyn-clonable",
|
||||||
"futures 0.3.21",
|
"futures 0.3.21",
|
||||||
"futures-timer",
|
"futures-timer",
|
||||||
"metered-channel",
|
|
||||||
"orchestra-proc-macro",
|
"orchestra-proc-macro",
|
||||||
"pin-project 1.0.10",
|
"pin-project 1.0.10",
|
||||||
|
"prioritized-metered-channel",
|
||||||
"rustversion",
|
"rustversion",
|
||||||
"thiserror",
|
"thiserror",
|
||||||
"tracing",
|
"tracing",
|
||||||
@@ -4844,7 +4827,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "orchestra-proc-macro"
|
name = "orchestra-proc-macro"
|
||||||
version = "0.9.22"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"assert_matches",
|
"assert_matches",
|
||||||
"expander 0.0.6",
|
"expander 0.0.6",
|
||||||
@@ -6825,11 +6808,11 @@ dependencies = [
|
|||||||
"futures-timer",
|
"futures-timer",
|
||||||
"hyper",
|
"hyper",
|
||||||
"log",
|
"log",
|
||||||
"metered-channel",
|
|
||||||
"nix 0.24.1",
|
"nix 0.24.1",
|
||||||
"parity-scale-codec",
|
"parity-scale-codec",
|
||||||
"polkadot-primitives",
|
"polkadot-primitives",
|
||||||
"polkadot-test-service",
|
"polkadot-test-service",
|
||||||
|
"prioritized-metered-channel",
|
||||||
"prometheus-parse",
|
"prometheus-parse",
|
||||||
"sc-cli",
|
"sc-cli",
|
||||||
"sc-client-api",
|
"sc-client-api",
|
||||||
@@ -6947,7 +6930,6 @@ dependencies = [
|
|||||||
"lazy_static",
|
"lazy_static",
|
||||||
"log",
|
"log",
|
||||||
"lru 0.7.5",
|
"lru 0.7.5",
|
||||||
"metered-channel",
|
|
||||||
"parity-db",
|
"parity-db",
|
||||||
"parity-scale-codec",
|
"parity-scale-codec",
|
||||||
"parity-util-mem",
|
"parity-util-mem",
|
||||||
@@ -6962,6 +6944,7 @@ dependencies = [
|
|||||||
"polkadot-overseer",
|
"polkadot-overseer",
|
||||||
"polkadot-primitives",
|
"polkadot-primitives",
|
||||||
"polkadot-primitives-test-helpers",
|
"polkadot-primitives-test-helpers",
|
||||||
|
"prioritized-metered-channel",
|
||||||
"rand 0.8.5",
|
"rand 0.8.5",
|
||||||
"sp-application-crypto",
|
"sp-application-crypto",
|
||||||
"sp-core",
|
"sp-core",
|
||||||
@@ -6980,7 +6963,6 @@ dependencies = [
|
|||||||
"futures 0.3.21",
|
"futures 0.3.21",
|
||||||
"futures-timer",
|
"futures-timer",
|
||||||
"lru 0.7.5",
|
"lru 0.7.5",
|
||||||
"metered-channel",
|
|
||||||
"orchestra",
|
"orchestra",
|
||||||
"parity-util-mem",
|
"parity-util-mem",
|
||||||
"parking_lot 0.12.0",
|
"parking_lot 0.12.0",
|
||||||
@@ -6990,6 +6972,7 @@ dependencies = [
|
|||||||
"polkadot-node-subsystem-types",
|
"polkadot-node-subsystem-types",
|
||||||
"polkadot-primitives",
|
"polkadot-primitives",
|
||||||
"polkadot-primitives-test-helpers",
|
"polkadot-primitives-test-helpers",
|
||||||
|
"prioritized-metered-channel",
|
||||||
"sc-client-api",
|
"sc-client-api",
|
||||||
"sp-api",
|
"sp-api",
|
||||||
"sp-core",
|
"sp-core",
|
||||||
@@ -7764,6 +7747,23 @@ dependencies = [
|
|||||||
"uint",
|
"uint",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "prioritized-metered-channel"
|
||||||
|
version = "0.1.1"
|
||||||
|
dependencies = [
|
||||||
|
"assert_matches",
|
||||||
|
"coarsetime",
|
||||||
|
"crossbeam-queue",
|
||||||
|
"derive_more",
|
||||||
|
"env_logger 0.9.0",
|
||||||
|
"futures 0.3.21",
|
||||||
|
"futures-timer",
|
||||||
|
"log",
|
||||||
|
"nanorand",
|
||||||
|
"thiserror",
|
||||||
|
"tracing",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "proc-macro-crate"
|
name = "proc-macro-crate"
|
||||||
version = "1.1.3"
|
version = "1.1.3"
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "metered-channel"
|
name = "prioritized-metered-channel"
|
||||||
version = "0.9.22"
|
version = "0.1.1"
|
||||||
authors = ["Parity Technologies <admin@parity.io>"]
|
authors = ["Parity Technologies <admin@parity.io>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Channels with attached Meters"
|
description = "Channels with built-in observability and message priorizitazion (coming soon™)"
|
||||||
|
repository = "https://github.com/paritytech/polkadot.git"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ futures = "0.3.21"
|
|||||||
futures-timer = "3.0.2"
|
futures-timer = "3.0.2"
|
||||||
gum = { package = "tracing-gum", path = "../gum" }
|
gum = { package = "tracing-gum", path = "../gum" }
|
||||||
|
|
||||||
metered-channel = { path = "../metered-channel" }
|
metered = { package = "prioritized-metered-channel", path = "../metered-channel" }
|
||||||
|
|
||||||
# Both `sc-service` and `sc-cli` are required by runtime metrics `logger_hook()`.
|
# Both `sc-service` and `sc-cli` are required by runtime metrics `logger_hook()`.
|
||||||
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
#![deny(missing_docs)]
|
#![deny(missing_docs)]
|
||||||
#![deny(unused_imports)]
|
#![deny(unused_imports)]
|
||||||
|
|
||||||
pub use metered_channel as metered;
|
pub use metered;
|
||||||
|
|
||||||
/// Cyclic metric collection support.
|
/// Cyclic metric collection support.
|
||||||
pub mod metronome;
|
pub mod metronome;
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ parity-util-mem = { version = "0.11.0", default-features = false }
|
|||||||
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
metered-channel = { path = "../metered-channel" }
|
metered = { package = "prioritized-metered-channel", path = "../metered-channel" }
|
||||||
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
futures = { version = "0.3.21", features = ["thread-pool"] }
|
futures = { version = "0.3.21", features = ["thread-pool"] }
|
||||||
femme = "2.2.1"
|
femme = "2.2.1"
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "orchestra"
|
name = "orchestra"
|
||||||
version = "0.9.22"
|
version = "0.0.1"
|
||||||
authors = ["Parity Technologies <admin@parity.io>"]
|
authors = ["Parity Technologies <admin@parity.io>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Generate an orchestra of subsystems from a single struct."
|
description = "Generate an orchestra of subsystems from a single struct."
|
||||||
|
repository = "https://github.com/paritytech/polkadot"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
autoexamples = false
|
autoexamples = false
|
||||||
|
|
||||||
@@ -12,8 +13,8 @@ tracing = "0.1.34"
|
|||||||
futures = "0.3"
|
futures = "0.3"
|
||||||
async-trait = "0.1"
|
async-trait = "0.1"
|
||||||
thiserror = "1"
|
thiserror = "1"
|
||||||
metered = { package = "metered-channel", path = "../../metered-channel" }
|
metered = { package = "prioritized-metered-channel", version = "0.1.1", path = "../../metered-channel" }
|
||||||
orchestra-proc-macro = { path = "./proc-macro" }
|
orchestra-proc-macro = { version = "0.0.1", path = "./proc-macro" }
|
||||||
futures-timer = "3.0.2"
|
futures-timer = "3.0.2"
|
||||||
pin-project = "1.0"
|
pin-project = "1.0"
|
||||||
dyn-clonable = "0.9"
|
dyn-clonable = "0.9"
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "orchestra-proc-macro"
|
name = "orchestra-proc-macro"
|
||||||
version = "0.9.22"
|
version = "0.0.1"
|
||||||
authors = ["Parity Technologies <admin@parity.io>"]
|
authors = ["Parity Technologies <admin@parity.io>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Generate an orchestra of subsystems from a single annotated struct definition."
|
description = "Generate an orchestra of subsystems from a single annotated struct definition."
|
||||||
|
repository = "https://github.com/paritytech/polkadot"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ use crate::{
|
|||||||
gen::Delay,
|
gen::Delay,
|
||||||
HeadSupportsParachains,
|
HeadSupportsParachains,
|
||||||
};
|
};
|
||||||
use metered_channel as metered;
|
use metered;
|
||||||
|
|
||||||
use assert_matches::assert_matches;
|
use assert_matches::assert_matches;
|
||||||
use sp_core::crypto::Pair as _;
|
use sp_core::crypto::Pair as _;
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ polkadot-node-network-protocol = { path = "../network/protocol" }
|
|||||||
polkadot-primitives = { path = "../../primitives" }
|
polkadot-primitives = { path = "../../primitives" }
|
||||||
polkadot-node-primitives = { path = "../primitives" }
|
polkadot-node-primitives = { path = "../primitives" }
|
||||||
polkadot-overseer = { path = "../overseer" }
|
polkadot-overseer = { path = "../overseer" }
|
||||||
metered-channel = { path = "../metered-channel" }
|
metered = { package = "prioritized-metered-channel", path = "../metered-channel" }
|
||||||
|
|
||||||
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ use std::{
|
|||||||
};
|
};
|
||||||
use thiserror::Error;
|
use thiserror::Error;
|
||||||
|
|
||||||
pub use metered_channel as metered;
|
pub use metered;
|
||||||
pub use polkadot_node_network_protocol::MIN_GOSSIP_PEERS;
|
pub use polkadot_node_network_protocol::MIN_GOSSIP_PEERS;
|
||||||
|
|
||||||
pub use determine_new_blocks::determine_new_blocks;
|
pub use determine_new_blocks::determine_new_blocks;
|
||||||
|
|||||||
Reference in New Issue
Block a user