From 2d32fa5de144690fcd7d26064a1a4e66c5a7c0b4 Mon Sep 17 00:00:00 2001 From: Ferris Tseng Date: Tue, 23 Feb 2021 23:24:18 -0500 Subject: export right stuff to make doc examples work --- ipfs-api-backend-actix/src/lib.rs | 5 ++++- 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, +}; -- cgit v1.2.3