Skip to content

Commit

Permalink
refactor: move rpc and provider setup into iroh
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Jun 21, 2023
1 parent 8bb3524 commit 620a904
Show file tree
Hide file tree
Showing 16 changed files with 1,656 additions and 1,587 deletions.
5 changes: 3 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions iroh-bytes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ num_cpus = "1.15.0"
once_cell = "1.17.0"
portable-atomic = "1"
postcard = { version = "1", default-features = false, features = ["alloc", "use-std", "experimental-derive"] }
quic-rpc = { version = "0.6", default-features = false, features = ["quinn-transport", "flume-transport"] }
quinn = "0.10"
range-collections = "0.4.0"
self_cell = "1.0.1"
Expand All @@ -37,7 +36,6 @@ smallvec = { version = "1.10.0", features = ["serde", "const_new"] }
subtle = "2.4"
thiserror = "1"
tokio = { version = "1", features = [] }
tokio-stream = "0.1"
tokio-util = { version = "0.7", features = ["io-util", "io", "rt"] }
tracing = "0.1"
tracing-futures = "0.2.5"
Expand Down
6 changes: 0 additions & 6 deletions iroh-bytes/src/get.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ use tracing::{debug, error};

pub use crate::util::Hash;

/// Default provider address.
///
/// As [`SocketAddr::from`] is not `const fn` this still needs to be passed to this
/// constructor.
pub const DEFAULT_PROVIDER_ADDR: (Ipv4Addr, u16) = crate::provider::DEFAULT_BIND_ADDR;

/// Options for the client
#[derive(Clone, Debug)]
pub struct Options {
Expand Down
Loading

0 comments on commit 620a904

Please sign in to comment.