[package]
edition = "2024"
rust-version = "1.85"
name = "wm-tools"
version = "9.2.2"
authors = ["WhiteMagic Project"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Curated tool implementations for the WhiteMagic MCP server."
homepage = "https://whitemagic.dev"
readme = false
keywords = [
"mcp",
"memory",
"ai-agents",
"local-first",
]
license = "MIT"
repository = "https://github.com/lbailey94/whitemagic"
resolver = "2"
[features]
acs-yaml = ["wm-governance/acs-yaml"]
[lib]
name = "wm_tools"
path = "src/lib.rs"
[[test]]
name = "abstention_contract"
path = "tests/abstention_contract.rs"
[[test]]
name = "calibration_adversarial_stress"
path = "tests/calibration_adversarial_stress.rs"
[[test]]
name = "cold_discovery_experiment"
path = "tests/cold_discovery_experiment.rs"
[[test]]
name = "cold_recall_contract"
path = "tests/cold_recall_contract.rs"
[[test]]
name = "conflict_contract"
path = "tests/conflict_contract.rs"
[[test]]
name = "coordination_stress"
path = "tests/coordination_stress.rs"
[[test]]
name = "counterfactual_replay_stress"
path = "tests/counterfactual_replay_stress.rs"
[[test]]
name = "evidence_bundle_contract"
path = "tests/evidence_bundle_contract.rs"
[[test]]
name = "gan_ying_normal_tools"
path = "tests/gan_ying_normal_tools.rs"
[[test]]
name = "hot_navigation_contract"
path = "tests/hot_navigation_contract.rs"
[[test]]
name = "lossless_private_exclusion"
path = "tests/lossless_private_exclusion.rs"
[[test]]
name = "recipe_expressibility_challenge"
path = "tests/recipe_expressibility_challenge.rs"
[[test]]
name = "session_continuity_stress"
path = "tests/session_continuity_stress.rs"
[[test]]
name = "temporal_correction_contract"
path = "tests/temporal_correction_contract.rs"
[[test]]
name = "trust_filter_matrix"
path = "tests/trust_filter_matrix.rs"
[[bench]]
name = "rsi_bench"
path = "benches/rsi_bench.rs"
harness = false
[[bench]]
name = "transaction_bench"
path = "benches/transaction_bench.rs"
harness = false
[dependencies.ahash]
version = "0.8"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.getrandom]
version = "0.4"
features = ["sys_rng"]
[dependencies.rayon]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.11.0"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"macros",
"time",
"io-util",
"io-std",
"signal",
"net",
]
[dependencies.tracing]
version = "0.1"
[dependencies.ureq]
version = "3"
features = ["json"]
[dependencies.uuid]
version = "1"
features = [
"v4",
"v5",
"v7",
"serde",
]
[dependencies.wm-bicameral]
version = "9.2.2"
[dependencies.wm-cognitive]
version = "9.2.2"
[dependencies.wm-conformal]
version = "9.2.2"
[dependencies.wm-core]
version = "9.2.2"
[dependencies.wm-dispatch]
version = "9.2.2"
[dependencies.wm-governance]
version = "9.2.2"
[dependencies.wm-memory]
version = "9.2.2"
[dependencies.wm-sangha]
version = "9.2.2"
features = ["transport"]
[dependencies.wm-selfmodel]
version = "9.2.2"
[dependencies.wm-simulation]
version = "9.2.2"
[dependencies.wm-substrate]
version = "9.2.2"
[dependencies.wm-workspace]
version = "9.2.2"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[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"