diff options
author | Ferris Tseng <ferristseng@fastmail.fm> | 2021-02-23 23:24:18 -0500 |
---|---|---|
committer | Ferris Tseng <ferristseng@fastmail.fm> | 2021-02-23 23:24:18 -0500 |
commit | 2d32fa5de144690fcd7d26064a1a4e66c5a7c0b4 (patch) | |
tree | bd9f809bf59dbf2bca8955d4d96376d9d9a778c0 | |
parent | 92b2195cbab6ec9cc09562213c2209e4973e9c91 (diff) |
export right stuff to make doc examples work
-rw-r--r-- | ipfs-api-backend-actix/src/lib.rs | 5 | ||||
-rw-r--r-- | ipfs-api-backend-hyper/src/lib.rs | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ipfs-api-backend-actix/src/lib.rs b/ipfs-api-backend-actix/src/lib.rs index 10345a6..d442bcf 100644 --- a/ipfs-api-backend-actix/src/lib.rs +++ b/ipfs-api-backend-actix/src/lib.rs @@ -12,4 +12,7 @@ mod backend; mod error; pub use crate::{backend::ActixBackend as IpfsClient, error::Error}; -pub use ipfs_api_prelude::{request, response, IpfsApi}; +pub use ipfs_api_prelude::{ + request::{self, KeyType, Logger, LoggingLevel, ObjectTemplate}, + response, IpfsApi, TryFromUri, +}; diff --git a/ipfs-api-backend-hyper/src/lib.rs b/ipfs-api-backend-hyper/src/lib.rs index f6b4448..3fd6232 100644 --- a/ipfs-api-backend-hyper/src/lib.rs +++ b/ipfs-api-backend-hyper/src/lib.rs @@ -12,4 +12,7 @@ mod backend; mod error; pub use crate::{backend::HyperBackend as IpfsClient, error::Error}; -pub use ipfs_api_prelude::{request, response, IpfsApi}; +pub use ipfs_api_prelude::{ + request::{self, KeyType, Logger, LoggingLevel, ObjectTemplate}, + response, IpfsApi, TryFromUri, +}; |