#![forbid(unsafe_code)]
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
mod cache;
mod client;
mod document;
mod error;
mod frame;
mod graph;
mod llm;
mod options;
mod params;
mod pool;
mod response;
mod serde_null;
mod sql;
#[cfg(feature = "tls")]
mod tls;
mod transport;
mod vector;
mod wire;
pub use crate::cache::{
BitOpKind, CacheCommand, CacheEntry, CacheEvictionStats, CacheExpiry, CacheKeyInfo, CacheLock,
CacheLockRenewal, CacheMemoryStats, CachePair, CacheReply, CacheStats, ChannelMessage,
CompareAndSwap, ExpireAtOutcome, FreshRead, FreshState, ListEnd, NamespaceLimit,
PolledMessages, ScoreBound, ScoredMember, SetCondition, StreamEntry, TrimCounts, WarmCounts,
ZAddCounts,
};
pub use crate::client::Client;
pub use crate::document::{
AccumulatorOp, AggregateStage, BulkOp, BulkWriteResult, CollectionOptions, Document,
DocumentCommit, DocumentFilter, DocumentIndex, DocumentPlan, DocumentSchema, DocumentStats,
DocumentUpdate, ExplainOptions, FieldRule, FieldType, GroupAccumulator, GroupKey, IndexRebuild,
PurgeCounts, ReplaceOptions, ReplaceResult, ReturnDocument, SortKey, UpdateCounts,
};
pub use crate::error::{Error, ErrorKind, Result, NOT_LEADER, OUTCOME_UNKNOWN};
pub use crate::frame::{Frame, Tag, FRAME_VERSION, MAX_CONTROL_PAYLOAD, MAX_DATA_PAYLOAD};
pub use crate::graph::{
CentralityMeasure, CentralityOptions, CommunityOptions, ComponentKind, ComponentOptions,
ConstraintKind, ConstraintTarget, GraphCentrality, GraphCommunities, GraphComponents,
GraphConsistency, GraphConstraint, GraphCounts, GraphCycle, GraphCycleCheck, GraphDirection,
GraphEdge, GraphEdgeInput, GraphEdgePage, GraphEdgeTypeSchema, GraphFindings, GraphFoundNodes,
GraphGroup, GraphIndex, GraphLabelSchema, GraphMirrorCheck, GraphNeighbor, GraphNode,
GraphNodeInput, GraphNodePage, GraphNodeTriangles, GraphPageRank, GraphPath, GraphPathEntry,
GraphPaths, GraphPropertySchema, GraphRemoved, GraphRows, GraphSchema, GraphSchemaObjects,
GraphScore, GraphStats, GraphSubgraph, GraphTraversal, GraphTriangles, GraphVisit,
GraphWriteSummary, KPathOptions, NeighborOptions, NodeUpdate, PageRankOptions, PathOptions,
SimilarityMetric, SimilarityOptions, TraverseOptions, WeightedPathOptions,
};
pub use crate::llm::{LlmOptions, LlmSource, OutputFormat};
pub use crate::options::{
Options, TlsOptions, ALL_FEATURES, DEFAULT_DATABASE, DEFAULT_PORT, FEATURE_CORRELATION_ID,
FEATURE_SERVER_PARAMS, FEATURE_SESSION_TXN, VERSION,
};
pub use crate::params::Param;
pub use crate::pool::Pool;
pub use crate::response::Response;
pub use crate::sql::{Rows, Statement, TransactionResult};
pub use crate::vector::{
AnnIndex, Embedding, FilterStrategy, FusedHit, FusedSearchResult, FusionMethod, NamedVector,
RecallOptions, ScoreMetric, SparseVector, TextUpsert, VectorAlias, VectorCollectionInfo,
VectorCollectionSummary, VectorConfig, VectorConfigChange, VectorExample, VectorHit,
VectorIndexRebuild, VectorIndexStats, VectorItem, VectorMetric, VectorPage, VectorPartition,
VectorPartitions, VectorQuantization, VectorRecall, VectorSearchOptions, VectorSearchResult,
VectorUpsert,
};