File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
use std::path::PathBuf;
2
2
3
3
use iroh::{protocol::Router, Endpoint};
4
- use iroh_blobs::{net_protocol::Blobs, store::mem::MemStore, ticket::BlobTicket};
4
+ use iroh_blobs::{store::mem::MemStore, ticket::BlobTicket, BlobsProtocol };
5
5
6
6
#[tokio::main]
7
7
async fn main() -> anyhow::Result<()> {
@@ -12,7 +12,7 @@ async fn main() -> anyhow::Result<()> {
12
12
// We initialize an in-memory backing store for iroh-blobs
13
13
let store = MemStore::new();
14
14
// Then we initialize a struct that can accept blobs requests over iroh connections
15
- let blobs = Blobs ::new(&store, endpoint.clone(), None);
15
+ let blobs = BlobsProtocol ::new(&store, endpoint.clone(), None);
16
16
17
17
// Grab all passed in arguments, the first one is the binary itself, so we skip it.
18
18
let args: Vec<String> = std::env::args().skip(1).collect();
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ pub mod protocol;
13
13
pub mod provider;
14
14
pub mod test;
15
15
pub mod ticket;
16
- pub mod util;
16
+ pub(crate) mod util;
17
17
18
18
#[cfg(test)]
19
19
mod tests;
You can’t perform that action at this time.
0 commit comments