plugmem-host 0.1.0

Native host layer for plugmem: file storage with locking, Embedder trait and HTTP embedder implementations.
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"
name = "plugmem-host"
version = "0.1.0"
authors = ["Mansur Azatbek <mansur62624@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native host layer for plugmem: file storage with locking, Embedder trait and HTTP embedder implementations."
homepage = "https://github.com/m62624/plugmem"
readme = "README.md"
keywords = [
    "plugmem",
    "storage",
    "embedder",
    "memory",
    "llm",
]
categories = [
    "filesystem",
    "api-bindings",
    "database",
]
license = "MIT"
repository = "https://github.com/m62624/plugmem"
resolver = "2"

[package.metadata.dist]
dist = false

[features]
config = ["dep:toml"]
counters = ["plugmem-core/counters"]
serde = [
    "dep:serde",
    "plugmem-core/serde",
]

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

[[example]]
name = "integrity"
path = "examples/integrity.rs"

[[example]]
name = "recall_ollama"
path = "examples/recall_ollama.rs"

[[test]]
name = "concurrency"
path = "tests/concurrency.rs"

[[test]]
name = "host"
path = "tests/host.rs"

[[test]]
name = "serde"
path = "tests/serde.rs"

[[bench]]
name = "integrity"
path = "benches/integrity.rs"
harness = false

[dependencies.memmap2]
version = "0.9.11"

[dependencies.plugmem-core]
version = "0.1.0"
default-features = false

[dependencies.self_cell]
version = "1.3.0"

[dependencies.serde]
version = "1.0.229"
features = [
    "derive",
    "alloc",
]
optional = true
default-features = false

[dependencies.serde_json]
version = "1.0.150"

[dependencies.thiserror]
version = "2.0.18"
default-features = false

[dependencies.toml]
version = "0.8"
features = ["parse"]
optional = true
default-features = false

[dependencies.ureq]
version = "3.3.0"
features = ["json"]

[dev-dependencies.criterion]
version = "0.8.2"

[dev-dependencies.memory-stats]
version = "1.2.0"

[dev-dependencies.serde_json]
version = "1.0.150"

[lints.rust]
missing_docs = "deny"
unsafe_op_in_unsafe_fn = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(tarpaulin)",
    "cfg(valgrind)",
]

[lints.rustdoc]
broken_intra_doc_links = "deny"