diff options
author | Conrad Ludgate <conrad.ludgate@truelayer.com> | 2022-04-22 21:14:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-22 20:14:23 +0000 |
commit | 7436e4ff651b64d4019a59d04c30c414ae220403 (patch) | |
tree | 3d5e35df1bce075ae04be63d76f9edc8cc17c6cb /atuin-client/src/lib.rs | |
parent | 508d4f476157384b0d454bee3dd6e9256560561b (diff) |
feature-flags (#328)
* use feature flags
* fmt
* fix features
* update ci
* fmt
Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
Diffstat (limited to 'atuin-client/src/lib.rs')
-rw-r--r-- | atuin-client/src/lib.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/atuin-client/src/lib.rs b/atuin-client/src/lib.rs index 98e2f3ae..497c5e74 100644 --- a/atuin-client/src/lib.rs +++ b/atuin-client/src/lib.rs @@ -3,11 +3,15 @@ #[macro_use] extern crate log; +#[cfg(feature = "sync")] pub mod api_client; -pub mod database; +#[cfg(feature = "sync")] pub mod encryption; +#[cfg(feature = "sync")] +pub mod sync; + +pub mod database; pub mod history; pub mod import; pub mod ordering; pub mod settings; -pub mod sync; |