mati 0.1.0

Engineering knowledge that survives turnover
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 = "2021"
rust-version = "1.82"
name = "mati"
version = "0.1.0"
build = false
exclude = [
    ".claude/",
    "docs/",
    "*.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Engineering knowledge that survives turnover"
homepage = "https://getmati.dev"
readme = "README.md"
keywords = [
    "ai",
    "mcp",
    "claude",
    "knowledge",
    "developer-tools",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/ioni-dev/mati"

[package.metadata.binstall]
pkg-url = "https://github.com/ioni-dev/mati/releases/download/v{ version }/mati-{ target }.tar.gz"
bin-dir = "mati"
pkg-fmt = "tgz"

[features]
bench-bin = []
default = []
semantic = [
    "dep:candle-core",
    "dep:candle-transformers",
    "dep:candle-nn",
    "dep:usearch",
    "dep:hf-hub",
    "dep:tokenizers",
]

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

[[bin]]
name = "bench_real"
path = "src/bin/bench_real/main.rs"
required-features = ["bench-bin"]

[[bin]]
name = "mati"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.candle-core]
version = "0.9.2"
optional = true

[dependencies.candle-nn]
version = "0.9.2"
optional = true

[dependencies.candle-transformers]
version = "0.9.2"
optional = true

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

[dependencies.clap]
version = "4.6.0"
features = [
    "derive",
    "env",
    "color",
    "wrap_help",
]

[dependencies.comfy-table]
version = "7.2.2"

[dependencies.dialoguer]
version = "0.11"
features = ["fuzzy-select"]

[dependencies.dirs]
version = "6.0.0"

[dependencies.git2]
version = "0.20.4"
features = ["vendored-openssl"]
default-features = false

[dependencies.hex]
version = "0.4.3"

[dependencies.hf-hub]
version = "0.5.0"
optional = true

[dependencies.ignore]
version = "0.4.25"

[dependencies.indicatif]
version = "0.17"

[dependencies.libc]
version = "0.2.183"

[dependencies.once_cell]
version = "1.21.4"

[dependencies.petgraph]
version = "0.8.3"
features = ["serde-1"]

[dependencies.rayon]
version = "1.11.0"

[dependencies.rmcp]
version = "1.2.0"
features = [
    "server",
    "transport-io",
]

[dependencies.rmp-serde]
version = "1.3"

[dependencies.schemars]
version = "1.0"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sha2]
version = "0.10.9"

[dependencies.slugify]
version = "0.1.0"

[dependencies.surrealkv]
version = "0.21"

[dependencies.tantivy]
version = "0.25.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokenizers]
version = "0.22.2"
optional = true

[dependencies.tokio]
version = "1.50.0"
features = ["full"]

[dependencies.toml_edit]
version = "0.23.7"

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"
features = [
    "env-filter",
    "fmt",
    "ansi",
]

[dependencies.tree-sitter]
version = "0.23"

[dependencies.tree-sitter-c]
version = "0.23"

[dependencies.tree-sitter-cpp]
version = "0.23"

[dependencies.tree-sitter-elixir]
version = "0.3"

[dependencies.tree-sitter-go]
version = "0.23"

[dependencies.tree-sitter-haskell]
version = "0.23"

[dependencies.tree-sitter-java]
version = "0.23"

[dependencies.tree-sitter-javascript]
version = "0.23"

[dependencies.tree-sitter-python]
version = "0.23"

[dependencies.tree-sitter-ruby]
version = "0.23"

[dependencies.tree-sitter-rust]
version = "0.23"

[dependencies.tree-sitter-scala]
version = "0.23"

[dependencies.tree-sitter-typescript]
version = "0.23"

[dependencies.usearch]
version = "2.24"
optional = true

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

[dev-dependencies.assert_cmd]
version = "2.2.0"

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

[dev-dependencies.insta]
version = "1.46.3"

[dev-dependencies.predicates]
version = "3.1.4"

[dev-dependencies.tempfile]
version = "3.27.0"

[profile.dev]
opt-level = 1

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = true

[profile.test]
opt-level = 1