summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorjakka <jakka@jakka.su>2025-10-01 00:25:24 +0300
committerjakka <jakka@jakka.su>2025-10-01 00:25:24 +0300
commitc177ba7a49caf63582719a4086e5032e2c939cfa (patch)
treeb922d01ef0061137f79101ff1de513ba402fbfa2 /src/lib.rs
parent6b0a6c0ca36c181d55c78a5dca46f1890c9cce38 (diff)
reconfigured the library, moved async client and trait to their own module. in the future sync and async implementations will be separated
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 3d70b70..c2a0350 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,9 +1,11 @@
//! crate with hydrus client and traits necessary for accesing hydrus API
-/// this crates hydrus client implementation
-pub mod client;
+/// this crate's hydrus client async implementation
+#[cfg(feature = "async")]
+pub mod client_async;
/// traits for accessing hydrus API
-pub mod traits;
+#[cfg(feature = "async")]
+pub mod traits_async;
/// various objects for de/serializing requests
pub mod types;