weavatrix-memory 0.3.1

Event-sourced, bitemporal context compiler for coding agents
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.89"
name = "weavatrix-memory"
version = "0.3.1"
authors = ["Sergii Ziborov <sergii.ziborov@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Event-sourced, bitemporal context compiler for coding agents"
homepage = "https://weavatrix.com"
documentation = "https://docs.rs/weavatrix-memory"
readme = "README.md"
keywords = [
    "agents",
    "memory",
    "event-sourcing",
    "temporal",
    "context",
]
categories = [
    "data-structures",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/sergii-ziborov/weavatrix-memory"

[package.metadata.docs.rs]
all-features = true

[features]
compression = ["dep:lz4_flex"]
default = []
encryption = [
    "dep:chacha20poly1305",
    "dep:getrandom",
    "dep:zeroize",
]
json = ["dep:blazingly-json"]
mmap = ["dep:mmap-guard"]
secure-storage = [
    "compression",
    "encryption",
    "mmap",
]

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

[[bin]]
name = "weavatrix-memory-eval"
path = "tools/eval/main.rs"
required-features = ["json"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "durable"
path = "benches/durable.rs"
harness = false
required-features = ["json"]

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

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

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

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

[[bench]]
name = "secure_storage"
path = "benches/secure_storage.rs"
harness = false
required-features = ["secure-storage"]

[[bench]]
name = "snapshot_codecs"
path = "benches/snapshot_codecs.rs"
harness = false
required-features = ["json"]

[dependencies.blazingly-json]
version = "0.1.0"
optional = true

[dependencies.chacha20poly1305]
version = "0.11.0"
features = [
    "alloc",
    "zeroize",
]
optional = true
default-features = false

[dependencies.getrandom]
version = "0.4.3"
optional = true

[dependencies.lz4_flex]
version = "0.14.0"
features = [
    "safe-decode",
    "safe-encode",
    "std",
]
optional = true
default-features = false

[dependencies.mmap-guard]
version = "0.2.2"
optional = true

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

[dependencies.weavatrix-graph]
version = "0.6.0"

[dependencies.zeroize]
version = "1.9.0"
features = ["alloc"]
optional = true
default-features = false

[dev-dependencies.agentic-memory]
version = "0.4.2"
default-features = false

[dev-dependencies.blazingly-json]
version = "0.1.0"

[dev-dependencies.cqrs-es]
version = "0.5.0"

[dev-dependencies.tokio]
version = "1.48.0"
features = ["rt"]

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"