diff --git a/src/api/tokio/mod.rs b/src/api/tokio/mod.rs index 89e4902..36dfb93 100644 --- a/src/api/tokio/mod.rs +++ b/src/api/tokio/mod.rs @@ -20,6 +20,7 @@ use tokio::sync::{AcquireError, TryAcquireError}; mod download; mod repo_info; mod upload; +pub use upload::UploadSource; /// Current version (used in user-agent) const VERSION: &str = env!("CARGO_PKG_VERSION"); diff --git a/src/api/tokio/upload/mod.rs b/src/api/tokio/upload/mod.rs index 2648463..64aa0fe 100644 --- a/src/api/tokio/upload/mod.rs +++ b/src/api/tokio/upload/mod.rs @@ -1,8 +1,9 @@ -use commit_api::{CommitError, CommitOperationAdd, UploadSource}; +use super::ApiRepo; +use commit_api::{CommitError, CommitOperationAdd}; use commit_info::CommitInfo; use futures::future::join_all; -use super::ApiRepo; +pub use commit_api::UploadSource; mod commit_api; mod commit_info;