diff --git a/ipfs-api-backend-actix/src/lib.rs b/ipfs-api-backend-actix/src/lib.rs index de04294..943290d 100644 --- a/ipfs-api-backend-actix/src/lib.rs +++ b/ipfs-api-backend-actix/src/lib.rs @@ -25,7 +25,8 @@ extern crate actix_multipart_rfc7578 as multipart; mod backend; mod error; -pub use crate::{backend::ActixBackend as IpfsClient, error::Error}; +pub type IpfsClient = ActixBackend; +pub use crate::{backend::ActixBackend, error::Error}; pub use ipfs_api_prelude::{ request::{self, KeyType, Logger, LoggingLevel, ObjectTemplate}, response, ApiError, BackendWithGlobalOptions, GlobalOptions, IpfsApi, TryFromUri, diff --git a/ipfs-api-backend-hyper/src/lib.rs b/ipfs-api-backend-hyper/src/lib.rs index e3bcc76..9c71df2 100644 --- a/ipfs-api-backend-hyper/src/lib.rs +++ b/ipfs-api-backend-hyper/src/lib.rs @@ -25,7 +25,8 @@ extern crate hyper_multipart_rfc7578 as multipart; mod backend; mod error; -pub use crate::{backend::HyperBackend as IpfsClient, error::Error}; +pub type IpfsClient = HyperBackend; +pub use crate::{backend::HyperBackend, error::Error}; pub use ipfs_api_prelude::{ request::{self, KeyType, Logger, LoggingLevel, ObjectTemplate}, response, ApiError, BackendWithGlobalOptions, GlobalOptions, IpfsApi, TryFromUri,