From c177ba7a49caf63582719a4086e5032e2c939cfa Mon Sep 17 00:00:00 2001 From: jakka Date: Wed, 1 Oct 2025 00:25:24 +0300 Subject: reconfigured the library, moved async client and trait to their own module. in the future sync and async implementations will be separated --- src/lib.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/lib.rs') 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; -- cgit v1.3.1