xz-memory-core 0.2.0

Core abstractions for the xz-memory storage engine: EntryStore, IndexSearcher, and shared types
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "xz-memory-core"
version = "0.2.0"
authors = ["xiao-zhu team <team@xiaozhu-tec.cloud>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core abstractions for the xz-memory storage engine: EntryStore, IndexSearcher, and shared types"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/xiaozhu-eco/xz-modules"
resolver = "2"

[features]
default = []
vector-memory = ["xz-embed"]

[lib]
name = "xz_memory_core"
path = "src/lib.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "macros",
    "time",
]

[dependencies.xz-embed]
version = "0.1.1"
optional = true

[lints.clippy]
expect_used = "deny"
unwrap_used = "deny"

[lints.rust]
unsafe_code = "forbid"