chore copy README from examples/readme.rs
hopefully the last time before skeptic integration?
@@ -5,7 +5,7 @@ Currently implements an altruistic bitswap strategy over mdns.
## Getting started
```rust,no-run
-use ipfs::{Ipfs, IpfsOptions, Ipld, Types};
+use ipfs::{UninitializedIpfs, IpfsOptions, Ipld, Types};
use futures::join;
use futures::{FutureExt, TryFutureExt};
@@ -15,7 +15,7 @@ fn main() {
tokio::runtime::current_thread::block_on_all(async move {
// Start daemon and initialize repo
- let (ipfs, fut) = Ipfs::new(options).start().await.unwrap();
+ let (ipfs, fut) = UninitializedIpfs::new(options).start().await.unwrap();
tokio::spawn(fut.unit_error().boxed().compat());
// Create a DAG
