wm-core 9.2.2

Core types, IDs, errors, and shared primitives for the WhiteMagic local-first memory system.
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 = "wm-core"
version = "9.2.2"
authors = ["WhiteMagic Project"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types, IDs, errors, and shared primitives for the WhiteMagic local-first memory system."
homepage = "https://whitemagic.dev"
readme = false
keywords = [
    "mcp",
    "memory",
    "ai-agents",
    "local-first",
]
license = "MIT"
repository = "https://github.com/lbailey94/whitemagic"
resolver = "2"

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

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

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

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

[dependencies.ahash]
version = "0.8"

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.ed25519-dalek]
version = "3.0.0"

[dependencies.hkdf]
version = "0.12"

[dependencies.hmac]
version = "0.12"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.smallvec]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "v5",
    "v7",
    "serde",
]

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

[dev-dependencies.proptest]
version = "1"

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

[lints.clippy]
all = "warn"
nursery = "warn"
pedantic = "warn"

[lints.clippy.cast_possible_truncation]
level = "allow"
priority = 1

[lints.clippy.cast_precision_loss]
level = "allow"
priority = 1

[lints.clippy.cast_sign_loss]
level = "allow"
priority = 1

[lints.clippy.doc_markdown]
level = "allow"
priority = 1

[lints.clippy.float_cmp]
level = "allow"
priority = 1

[lints.clippy.items_after_statements]
level = "allow"
priority = 1

[lints.clippy.manual_let_else]
level = "allow"
priority = 1

[lints.clippy.many_single_char_names]
level = "allow"
priority = 1

[lints.clippy.match_same_arms]
level = "allow"
priority = 1

[lints.clippy.missing_docs_in_private_items]
level = "allow"
priority = 1

[lints.clippy.missing_errors_doc]
level = "allow"
priority = 1

[lints.clippy.missing_panics_doc]
level = "allow"
priority = 1

[lints.clippy.option_if_let_else]
level = "allow"
priority = 1

[lints.clippy.similar_names]
level = "allow"
priority = 1

[lints.clippy.struct_excessive_bools]
level = "allow"
priority = 1

[lints.clippy.too_many_lines]
level = "allow"
priority = 1

[lints.clippy.unnecessary_literal_bound]
level = "allow"
priority = 1

[lints.clippy.unnecessary_wraps]
level = "allow"
priority = 1

[lints.clippy.unreadable_literal]
level = "allow"
priority = 1

[lints.clippy.unused_self]
level = "allow"
priority = 1

[lints.rust]
unsafe_code = "deny"