juncture-store 0.2.0

Cross-thread persistent key-value storage for Juncture (re-exports juncture-core::store)
Documentation
  • Coverage
  • 100%
    1 out of 1 items documented0 out of 0 items with examples
  • Size
  • Source code size: 46.5 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.06 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 14s Average build duration of successful builds.
  • all releases: 16s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • greatwallisme/juncture
    14 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • greatwallisme

Juncture Store

Crates.io Documentation License: Apache-2.0

Cross-thread persistent key-value storage for Juncture applications. This crate re-exports the Store types from juncture-core::store for convenient access.

Re-exported Types

Type Description
Store Storage trait
MemoryStore In-memory implementation
Item Storage item
FilterExpr Query filters
SearchQuery Search parameters
TTLConfig Time-to-live configuration
IndexConfig Index configuration
EmbeddingFunc Vector embedding function

Usage

use juncture_store::{MemoryStore, Store};

// Create an in-memory store
let store = MemoryStore::new();

// Store items
store.put("key1", serde_json::json!({"value": 42})).await?;

// Retrieve items
let item = store.get("key1").await?;

License

Licensed under Apache License, Version 2.0. See LICENSE for details.