//! 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;

#[allow(deprecated)]
pub use crate::identity;
pub use crate::{
    auth::{self, DittoAuthenticationEventHandler, DittoAuthenticator},
    disk_usage::{DiskUsage, DiskUsageItem, DiskUsageObserverHandle, FileSystemType},
    ditto::init::{DittoAuthExpirationHandler, DittoConfig, DittoConfigConnect},
    dql::query::IntoQuery,
    error::DittoError,
    ffi_sdk::{BoxedDitto, BoxedDocument, CLogLevel, StringPrimitiveFormat},
    fs::{DittoRoot, PersistentRoot, TempRoot},
    logger::DittoLogger,
    presence::{
        ConnectionRequest, ConnectionRequestAuthorization, Presence, PresenceGraph,
        PresenceObserver,
    },
    small_peer_info::DittoSmallPeerInfoSyncScope,
    store::{
        attachment::{
            DittoAttachment, DittoAttachmentFetchEvent, DittoAttachmentFetcher,
            DittoAttachmentToken,
        },
        transactions::{
            CreateTransactionOptions, Transaction, TransactionCompletionAction, TransactionInfo,
        },
        DocumentId, Store,
    },
    transport::{HttpListenConfig, TcpListenConfig, TransportConfig},
    utils::extension_traits::CborValueGetters,
    DatabaseId, Ditto, LogLevel,
};
