dittolive-ditto 4.10.0

Ditto is a peer to peer cross-platform database that allows mobile, web, IoT and server apps to sync with or without an internet connection.
//! Add `use dittolive_ditto::prelude::*;` to import frequently-used Ditto functionality.
//!
//! The prelude contains all common imports when using this crate.

pub use serde_cbor::Value as CborValue;

// NOTE(nimo): Doctest to ensure this is hidden/deprecated but available
/// ```rust,no_run
/// use dittolive_ditto::prelude::SiteId;
/// ```
#[doc(hidden)]
#[allow(deprecated)]
pub use crate::ditto::SiteId;
// NOTE(nimo): Doctest to ensure this is hidden/deprecated but available
/// ```rust,no_run
/// use dittolive_ditto::prelude::Observer;
/// ```
#[doc(hidden)]
#[allow(deprecated)]
pub use crate::observer::Observer;
// NOTE(nimo): Doctest to ensure this is hidden/deprecated but available
/// ```rust,no_run
/// use dittolive_ditto::prelude::PeersObserver;
/// ```
#[doc(hidden)]
#[allow(deprecated)]
pub use crate::presence::observer::PeersObserver;
#[doc(hidden)]
#[allow(deprecated)]
#[cfg(feature = "timeseries")]
pub use crate::store::timeseries::TimeSeries;
pub use crate::{
    disk_usage::DiskUsage,
    error::DittoError,
    ffi_sdk::{BoxedDitto, BoxedDocument, CLogLevel, StringPrimitiveFormat},
    fs::{DittoRoot, PersistentRoot, TempRoot},
    identity::{
        self, DittoAuthenticationEventHandler, DittoAuthenticator, Identity, Manual,
        OfflinePlayground, OnlinePlayground, OnlineWithAuthentication, SharedKey,
    },
    logger::DittoLogger,
    presence::{
        ConnectionRequest, ConnectionRequestAuthorization, Presence, PresenceGraph,
        PresenceObserver,
    },
    small_peer_info::DittoSmallPeerInfoSyncScope,
    store::{
        attachment::{
            DittoAttachment, DittoAttachmentFetchEvent, DittoAttachmentFetcher,
            DittoAttachmentToken,
        },
        query_builder::{
            COrderByParam, Collection, CollectionsEvent, CollectionsEventHandler, DittoCounter,
            DittoDocument, DittoMutDocument, DittoMutableCounter, DittoMutableRegister,
            DittoRegister, DocumentId, EventHandler, LiveQuery, LiveQueryEvent, LiveQueryMove,
            PendingCollectionsOperation, PendingCursorOperation, PendingIdSpecificOperation,
            QuerySortDirection, SingleDocumentEventHandler, SingleDocumentLiveQueryEvent,
            Subscription,
        },
        Store, WriteStrategy,
    },
    transport::{HttpListenConfig, TcpListenConfig, TransportConfig},
    utils::extension_traits::CborValueGetters,
    AppId, Ditto, DittoBuilder, LogLevel,
};