1pub mod collection;
7pub mod crdt;
8pub mod error;
9pub mod query;
10pub mod storage;
11pub mod sync;
12pub mod transport;
13pub mod security;
14
15#[cfg(test)]
16mod wasm_tests;
17
18pub use collection::LocalFirstCollection;
20pub use crdt::{LwwMap, LwwRegister, Mergeable, ReplicaId};
21pub use error::{CoreError, Result};
22pub use storage::{LocalStorage, StorageError};
23pub use sync::{SyncError, SyncState};
24pub use transport::{SyncTransport, TransportError};
25
26pub use serde::{Deserialize, Serialize};
28pub use async_trait::async_trait;
29
30pub mod features {
32 pub const ENCRYPTION: &str = "encryption";
34
35 pub const COMPRESSION: &str = "compression";
37
38 pub const METRICS: &str = "metrics";
40
41 pub const TRACING: &str = "tracing";
43}