[package]
edition = "2021"
rust-version = "1.88"
name = "p-memory"
version = "0.2.3"
build = false
exclude = [
"/.github",
"/.env.sample",
"/pyproject.toml",
"/python",
"/tests/python",
"/uv.lock",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Embedded memory, knowledge graph, and note storage for Rust and Python"
readme = "README.md"
keywords = [
"memory",
"knowledge-graph",
"search",
"embeddings",
"sqlite",
]
categories = [
"database",
"data-structures",
"text-processing",
]
license = "Apache-2.0"
repository = "https://github.com/kawayiYokami/p-memory"
[lib]
name = "p_memory"
path = "src/lib.rs"
[[example]]
name = "graph_probe"
path = "examples/graph_probe.rs"
[[example]]
name = "import_graph"
path = "examples/import_graph.rs"
[[example]]
name = "minimal_demo"
path = "examples/minimal_demo.rs"
[[example]]
name = "search_compare"
path = "examples/search_compare.rs"
[[test]]
name = "core"
path = "tests/core.rs"
[[test]]
name = "legacy"
path = "tests/legacy.rs"
[dependencies.chrono]
version = "0.4.45"
features = ["serde"]
[dependencies.fs4]
version = "0.13.1"
[dependencies.parking_lot]
version = "0.12"
[dependencies.petgraph]
version = "0.6"
[dependencies.regex]
version = "1"
[dependencies.rusqlite]
version = "0.39"
features = [
"bundled",
"backup",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.tantivy]
version = "0.26.1"
[dependencies.thiserror]
version = "2"
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dev-dependencies.tempfile]
version = "3"
[profile.dev]
debug = 1
[profile.release]
lto = "thin"
strip = true