prepare orchestra crate publishing (#5579)

This commit is contained in:
Bernhard Schuster
2022-05-24 11:06:47 +02:00
committed by GitHub
parent d0453cf24d
commit fd51ecbe70
10 changed files with 39 additions and 36 deletions
+4 -3
View File
@@ -1,9 +1,10 @@
[package]
name = "metered-channel"
version = "0.9.22"
name = "prioritized-metered-channel"
version = "0.1.1"
authors = ["Parity Technologies <admin@parity.io>"]
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"
[dependencies]
+1 -1
View File
@@ -10,7 +10,7 @@ futures = "0.3.21"
futures-timer = "3.0.2"
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()`.
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" }
+1 -1
View File
@@ -24,7 +24,7 @@
#![deny(missing_docs)]
#![deny(unused_imports)]
pub use metered_channel as metered;
pub use metered;
/// Cyclic metric collection support.
pub mod metronome;
+1 -1
View File
@@ -22,7 +22,7 @@ parity-util-mem = { version = "0.11.0", default-features = false }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
[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" }
futures = { version = "0.3.21", features = ["thread-pool"] }
femme = "2.2.1"
+4 -3
View File
@@ -1,9 +1,10 @@
[package]
name = "orchestra"
version = "0.9.22"
version = "0.0.1"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
description = "Generate an orchestra of subsystems from a single struct."
repository = "https://github.com/paritytech/polkadot"
license = "MIT OR Apache-2.0"
autoexamples = false
@@ -12,8 +13,8 @@ tracing = "0.1.34"
futures = "0.3"
async-trait = "0.1"
thiserror = "1"
metered = { package = "metered-channel", path = "../../metered-channel" }
orchestra-proc-macro = { path = "./proc-macro" }
metered = { package = "prioritized-metered-channel", version = "0.1.1", path = "../../metered-channel" }
orchestra-proc-macro = { version = "0.0.1", path = "./proc-macro" }
futures-timer = "3.0.2"
pin-project = "1.0"
dyn-clonable = "0.9"
@@ -1,9 +1,10 @@
[package]
name = "orchestra-proc-macro"
version = "0.9.22"
version = "0.0.1"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
description = "Generate an orchestra of subsystems from a single annotated struct definition."
repository = "https://github.com/paritytech/polkadot"
license = "MIT OR Apache-2.0"
[package.metadata.docs.rs]
+1 -1
View File
@@ -39,7 +39,7 @@ use crate::{
gen::Delay,
HeadSupportsParachains,
};
use metered_channel as metered;
use metered;
use assert_matches::assert_matches;
use sp_core::crypto::Pair as _;
+1 -1
View File
@@ -26,7 +26,7 @@ polkadot-node-network-protocol = { path = "../network/protocol" }
polkadot-primitives = { path = "../../primitives" }
polkadot-node-primitives = { path = "../primitives" }
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-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" }
+1 -1
View File
@@ -68,7 +68,7 @@ use std::{
};
use thiserror::Error;
pub use metered_channel as metered;
pub use metered;
pub use polkadot_node_network_protocol::MIN_GOSSIP_PEERS;
pub use determine_new_blocks::determine_new_blocks;