Skip to content

Commit 56d4c89

Browse files
committed
refactor(aggregator-discovery): remove the 'rand' feature
1 parent 8dbbeee commit 56d4c89

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

internal/mithril-aggregator-discovery/Cargo.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,12 @@ license.workspace = true
1010
repository.workspace = true
1111
include = ["**/*.rs", "Cargo.toml", "README.md", ".gitignore"]
1212

13-
[features]
14-
rand = ["dep:rand"]
15-
1613
[dependencies]
1714
anyhow = { workspace = true }
1815
async-trait = { workspace = true }
1916
mithril-common = { path = "../../mithril-common" }
2017
mithril-aggregator-client = { path = "../mithril-aggregator-client" }
21-
rand = { version = "0.9.2", optional = true}
18+
rand = { version = "0.9.2"}
2219
reqwest = { workspace = true, features = [
2320
"default",
2421
"gzip",

internal/mithril-aggregator-discovery/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@ mod capabilities_discoverer;
55
mod http_config_discoverer;
66
mod interface;
77
mod model;
8-
#[cfg(feature = "rand")]
98
mod rand_discoverer;
109
pub mod test;
1110

1211
pub use capabilities_discoverer::CapableAggregatorDiscoverer;
1312
pub use http_config_discoverer::HttpConfigAggregatorDiscoverer;
1413
pub use interface::AggregatorDiscoverer;
1514
pub use model::{AggregatorEndpoint, MithrilNetwork};
16-
#[cfg(feature = "rand")]
1715
pub use rand_discoverer::ShuffleAggregatorDiscoverer;

0 commit comments

Comments
 (0)