Skip to content

Commit

Permalink
feat!: remove rpc from the default feature flag set
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire authored Dec 5, 2024
1 parent 688715f commit 5897668
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
14 changes: 12 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,22 @@ testdir = "0.7"
data-encoding = "2.6.0"

[features]
default = ["net", "metrics", "engine", "rpc", "test-utils"]
default = ["net", "metrics", "engine", "test-utils"]
net = ["dep:iroh", "tokio/io-util", "dep:tokio-stream", "dep:tokio-util"]
metrics = ["iroh-metrics/metrics", "iroh/metrics"]
engine = ["net", "dep:iroh-gossip", "dep:iroh-blobs"]
test-utils = ["iroh/test-utils"]
cli = ["rpc", "dep:clap", "dep:indicatif", "dep:console", "dep:colored", "dep:dialoguer", "dep:shellexpand", "iroh-blobs/rpc", "iroh-base/base32"]
cli = [
"rpc",
"dep:clap",
"dep:indicatif",
"dep:console",
"dep:colored",
"dep:dialoguer",
"dep:shellexpand",
"iroh-blobs/rpc",
"iroh-base/base32"
]
rpc = [
"engine",
"dep:nested_enum_utils",
Expand Down
3 changes: 2 additions & 1 deletion src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ impl<D: iroh_blobs::store::Store> Engine<D> {
Ok(())
}

pub(crate) fn local_pool_handle(&self) -> &LocalPoolHandle {
/// Returns the stored `LocalPoolHandle`.
pub fn local_pool_handle(&self) -> &LocalPoolHandle {
&self.local_pool_handle
}
}
Expand Down

0 comments on commit 5897668

Please sign in to comment.