Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have any code left that exercises the cli stuff?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ci tests with all features

"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
Loading