mod prolly;
pub use prolly::batch::{
append_batch, BatchApplyResult, BatchApplyStats, BatchWriter, MutationBuffer,
};
#[cfg(feature = "async-store")]
pub use prolly::blob::{AsyncBlobStore, SyncBlobStoreAsAsync};
pub use prolly::blob::{
BlobRef, BlobStore, BlobStoreScan, FileBlobStore, FileBlobStoreError, LargeValueConfig,
MemBlobStore, MemBlobStoreError, ValueRef, DEFAULT_INLINE_VALUE_THRESHOLD,
};
#[cfg(feature = "tokio")]
pub use prolly::blob::{TokioBlockingBlobStore, TokioBlockingBlobStoreError};
pub use prolly::boundary::BoundaryDetector;
pub use prolly::builder::{BatchBuilder, SortedBatchBuilder};
pub use prolly::chunking;
pub use prolly::cid::Cid;
pub use prolly::config::{Config, ConfigBuilder, RuntimeConfig};
pub use prolly::content_graph::{
compare_and_swap_named_content_root, compare_and_swap_named_content_root_with_limits,
content_references, copy_and_publish_content_graph, copy_content_graph,
load_named_content_root, load_named_content_root_with_limits, plan_content_gc,
put_named_content_root, put_named_content_root_with_limits, sweep_content_gc,
sweep_content_gc_with_invalidator, walk_content_graph, ContentGcPlan, ContentGcSweep,
ContentGraphCopy, ContentGraphLimits, ContentGraphWalk, ContentManifestUpdate,
ContentObjectKind, ContentRootManifest, ContentRootPublication, TypedContentObject,
TypedContentRoot,
};
pub use prolly::crdt::{
ConflictFreeMerger, CrdtConfig, CrdtResolution, CustomMergeFn, DefaultConflictFreeMerger,
DeletePolicy, MergeStrategy, MultiValueSet, TimestampExtractor, TimestampedValue,
};
pub use prolly::cursor::{Cursor, CursorIterator, DiffCursor};
pub use prolly::debug::{
TreeDebugComparedNode, TreeDebugComparison, TreeDebugComparisonLevel, TreeDebugLevel,
TreeDebugNode, TreeDebugNodeStatus, TreeDebugView,
};
#[cfg(feature = "async-store")]
pub use prolly::diff::{AsyncConflictIter, AsyncDiffIter};
pub use prolly::diff::{
DiffPage, DiffTraversalStats, MergeExplanation, MergeFallbackReason, MergeFastPath,
MergeResolutionKind, MergeReuseReason, MergeTrace, MergeTraceEvent, MergeTraceStage,
StructuralDiffCursor, StructuralDiffMarker, StructuralDiffPage,
};
pub use prolly::encoding::Encoding;
pub use prolly::error::{resolver, Conflict, Diff, Error, Mutation, Resolution, Resolver};
pub use prolly::format::{
BoundaryInput, BoundaryRule, ChunkMeasure, ChunkingSpec, HashAlgorithm, NodeLayoutSpec,
TreeFormat,
};
pub use prolly::gc::{
BlobGcPlan, BlobGcReachability, BlobGcSweep, GcPlan, GcReachability, GcSweep,
};
pub use prolly::key::{
debug_key, decode_segments, encode_segment, encode_segment_prefix, i128_key, i64_key,
prefix_end, prefix_range, timestamp_millis_key, u128_key, u64_key, KeyBuilder, KeyDecodeError,
};
#[cfg(feature = "async-store")]
pub use prolly::manifest::{AsyncManifestStore, AsyncManifestStoreScan};
pub use prolly::manifest::{
ManifestStore, ManifestStoreScan, ManifestUpdate, NamedRoot, NamedRootManifest,
NamedRootRetention, NamedRootSelection, NamedRootUpdate, RootManifest,
};
pub use prolly::node::{Node, NodeBuilder};
pub use prolly::parallel::ParallelConfig;
pub use prolly::patch::{LogicalPatch, StructuralEdit, StructuralPatch};
pub use prolly::policy::{
MergePolicyFn, MergePolicyRegistry, MergePolicyRule, MergePolicyRuleLabel,
};
pub use prolly::proof::{
inspect_proof_bundle, sign_proof_bundle_hmac_sha256, verify_authenticated_proof_bundle,
verify_authenticated_proof_envelope, verify_diff_page_proof, verify_key_proof,
verify_multi_key_proof, verify_proof_bundle, verify_range_page_proof, verify_range_proof,
AuthenticatedProofBundleVerification, AuthenticatedProofEnvelope,
AuthenticatedProofEnvelopeVerification, DiffPageProof, DiffPageProofVerification, KeyProof,
KeyProofVerification, MultiKeyProof, MultiKeyProofVerification, ProofBundleKind,
ProofBundleSummary, ProofBundleVerification, ProvedDiffPage, ProvedRangePage, RangePageProof,
RangePageProofVerification, RangeProof, RangeProofVerification,
};
pub use prolly::proximity::{
AcceleratorCatalog, AcceleratorCatalogEntry, AcceleratorSet, AdaptiveQuality,
ApproximatePreference, BuildParallelism, CatalogAcceleratorKind, CompositeAccelerator,
CompositeAcceleratorConfig, CompositeBase, CompositeBaseKind, CompositeBuildLimits,
CompositeBuildOrRebuildOutcome, CompositeBuildOutcome, CompositeBuildStats,
CompositeRebuildOptions, DistanceMetric, ExactProximityRecord, FullRebuildReason,
HierarchyConfig, HnswBuildLimits, HnswBuildStats, HnswConfig, HnswIndex,
HnswRoutingVectorEncoding, HnswSearchOptions, Neighbor, OverflowConfig, PlannerPolicy,
PqSearchOptions, ProductQuantizationBuildLimits, ProductQuantizationBuildStats,
ProductQuantizationConfig, ProductQuantizationQuality, ProductQuantizer, ProximityBuildStats,
ProximityConfig, ProximityFilter, ProximityMap, ProximityMembershipProof,
ProximityMembershipVerification, ProximityMutation, ProximityMutationStats,
ProximityProofFilter, ProximityReadSession, ProximityRecord, ProximityRecordRef,
ProximitySearchClaim, ProximitySearchEvent, ProximitySearchProof, ProximitySearchRequest,
ProximitySearchStats, ProximitySearchVerification, ProximityStructuralProof,
ProximityStructuralVerification, ProximityTree, ProximityVectorRef, ProximityVerification,
QueryKernel, ScalarQuantizationConfig, SearchBackend, SearchBudget, SearchCompletion, SearchIo,
SearchOptions, SearchPlan, SearchPlanSummary, SearchPolicy, SearchRequest, SearchResult,
SearchRuntime, SearchRuntimePolicy, StoreCacheNamespace, VectorStorageConfig,
SEARCH_PLAN_FORMAT_VERSION,
};
#[cfg(feature = "async-store")]
pub use prolly::proximity::{
AsyncAcceleratorCatalog, AsyncAcceleratorSet, AsyncCompositeAccelerator, AsyncHnswIndex,
AsyncIoConfig, AsyncProductQuantizer, AsyncProximityMap, AsyncSearchControl, CancellationToken,
};
pub use prolly::range::{
CursorWindow, RangeCursor, RangeIter, RangePage, ReverseCursor, ReversePage,
};
#[cfg(feature = "async-store")]
pub use prolly::read::AsyncReadSession;
pub use prolly::read::{
BorrowedMergeResolver, ConflictRef, DiffRef, EntryRef, MergeDecision, OwnedRangeScanSession,
OwnedReadSession, OwnedValueLease, ReadSession, ScanOutcome, ValueRefView,
};
pub use prolly::secondary_index::{
catalog_checkpoint_key, catalog_checkpoints_prefix, catalog_current_key,
catalog_descriptor_key, catalog_format_key, catalog_map_id, catalog_retired_key,
control_record_key, control_root_name, decode_physical_index_key,
decode_physical_index_key_ref, descriptor_fingerprint, index_map_id, physical_index_key,
term_bounds_exact, term_bounds_prefix, term_bounds_range, ActiveIndexControl,
ActiveIndexHealth, DecodedPhysicalIndexKey, DecodedPhysicalIndexKeyRef, IndexBuildResult,
IndexCheckpoint, IndexControl, IndexProjection, IndexValue, IndexValueRef, IndexVerification,
IndexedHeadRecord, IndexedMap, IndexedMapEditor, IndexedMapHealth, IndexedMapMetricsSnapshot,
IndexedMapUpdate, IndexedRetentionResult, IndexedSnapshot, IndexedSnapshotBundle,
IndexedSnapshotBundleIndex, IndexedSnapshotBundleSummary, IndexedSnapshotBundleVerification,
IndexedSnapshotId, IndexedSourceRecord, IndexedSourceRecordRef, IndexedVersion,
ProjectedIndexEntry, SecondaryIndex, SecondaryIndexBuilder, SecondaryIndexCursor,
SecondaryIndexDescriptor, SecondaryIndexDirection, SecondaryIndexEntry, SecondaryIndexEntryRef,
SecondaryIndexError, SecondaryIndexExtractor, SecondaryIndexLimits, SecondaryIndexMatch,
SecondaryIndexMatchRef, SecondaryIndexPage, SecondaryIndexRegistry, SecondaryIndexSnapshot,
StreamingSecondaryIndexExtractor, TermBounds, INDEXED_SNAPSHOT_BUNDLE_FORMAT_VERSION,
INDEX_PHYSICAL_LAYOUT_VERSION, SECONDARY_INDEX_FORMAT_VERSION,
};
pub use prolly::snapshot::{
snapshot_id_from_name, snapshot_root_name, SnapshotManager, SnapshotNamespace, SnapshotRoot,
SnapshotSelection, SNAPSHOT_BRANCH_PREFIX, SNAPSHOT_CHECKPOINT_PREFIX, SNAPSHOT_TAG_PREFIX,
};
pub use prolly::splice::{splice, SpliceStats};
pub use prolly::streaming::{DefaultStreamingDiffer, StreamingDiffer};
pub use prolly::write::WriteStats;
pub use prolly::{ChangedSpan, ChangedSpanHint, KeyValue, Prolly, ProllyMetricsSnapshot};
#[cfg(feature = "async-store")]
pub use prolly::range::{AsyncRangeIter, AsyncRangePage, AsyncReversePage};
#[cfg(feature = "async-store")]
pub use prolly::remote::{
conformance as remote_conformance, RemoteAdapterError, RemoteBatchOp, RemoteManifestUpdate,
RemoteNamedRoot, RemoteProllyStore, RemoteRootCondition, RemoteRootWrite, RemoteStoreBackend,
RemoteStoreConfig, RemoteTransactionConflict, RemoteTransactionUpdate,
};
pub use prolly::stats::{StatsComparison, StatsDiff, StatsPercentageChange, TreeStats};
#[cfg(feature = "async-store")]
pub use prolly::store::{AsyncStore, SyncStoreAsAsync};
pub use prolly::store::{
BatchOp, FileNodeStore, FileNodeStoreError, MemStore, MemStoreError, NodeStoreScan, Store,
};
#[cfg(feature = "tokio")]
pub use prolly::store::{TokioBlockingStore, TokioBlockingStoreError};
pub use prolly::sync::{
MissingNodeCopy, MissingNodePlan, SnapshotBundle, SnapshotBundleNode, SnapshotBundleSummary,
SnapshotBundleVerification, SNAPSHOT_BUNDLE_FORMAT_VERSION,
};
pub use prolly::tombstone::{
is_tombstone_value, tombstone_compaction, tombstone_upsert, Tombstone,
};
#[cfg(feature = "async-store")]
pub use prolly::transaction::{
AsyncProllyTransaction, AsyncTransactionOverlayStore, AsyncTransactionalStore,
OwnedAsyncProllyTransaction, OwnedAsyncTransactionOverlayStore,
};
pub use prolly::transaction::{
OwnedProllyTransaction, OwnedTransactionOverlayStore, ProllyTransaction, RootCondition,
RootWrite, TransactionConflict, TransactionNodeWrite, TransactionOverlayError,
TransactionUpdate, TransactionalStore,
};
pub use prolly::tree::Tree;
pub use prolly::value::{
decode_cbor, decode_json, encode_cbor, encode_json, CborCodec, JsonCodec, ValueCodec,
VersionedCborCodec, VersionedJsonCodec, VersionedValue,
};
#[cfg(feature = "async-store")]
pub use prolly::versioned_map::{AsyncMapChangeSubscription, AsyncMapSnapshot, AsyncVersionedMap};
pub use prolly::versioned_map::{
BytesKeyCodec, KeyCodec, MapBackupVersion, MapCatalogVerification, MapChangeEvent,
MapChangeSubscription, MapComparison, MapMerge, MapReverseIter, MapSnapshot, MapVersion,
MapVersionId, ProofAuthentication, StringKeyCodec, TypedMigrationResult, TypedVersionedMap,
VersionPruneResult, VersionedMap, VersionedMapBackup, VersionedMapBatchResult,
VersionedMapEditor, VersionedMapUpdate, VersionedMapsTransaction,
DEFAULT_VERSIONED_MAP_RETRIES, VERSIONED_MAP_ROOT_PREFIX,
};
pub use prolly::write_session::{PendingValue, Savepoint, WriteSession};
#[cfg(feature = "async-store")]
pub use prolly::AsyncProlly;
pub use prolly::encoding::{
DEFAULT_CHUNKING_FACTOR, DEFAULT_HASH_SEED, DEFAULT_MAX_CHUNK_SIZE, DEFAULT_MIN_CHUNK_SIZE,
INIT_LEVEL,
};