cgz 2026.5.4

Local-first semantic code intelligence graph
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"
name = "cgz"
version = "2026.5.4"
authors = ["f12o"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local-first semantic code intelligence graph"
readme = false
license = "MIT"
repository = "https://github.com/f4ah6o/codegraph"

[features]
oracle-tests = []

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

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

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

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

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

[[test]]
name = "oracle_parity"
path = "tests/oracle_parity.rs"
required-features = ["oracle-tests"]

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.ignore]
version = "0.4"

[dependencies.parking_lot]
version = "0.12"

[dependencies.regex]
version = "1.11"

[dependencies.rusqlite]
version = "0.32"
features = [
    "bundled",
    "backup",
]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.time]
version = "0.3"
features = ["formatting"]

[dependencies.toml]
version = "0.8"

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

[dependencies.tree-sitter-moonbit]
version = "0.1.0"
package = "octorus-tree-sitter-moonbit"

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

[dependencies.walkdir]
version = "2.5"

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