srcwalk 0.1.5

Tree-sitter indexed lookups — smart code reading for AI agents
Documentation
[package]
name = "srcwalk"
version = "0.1.5"
edition = "2021"
description = "Tree-sitter indexed lookups — smart code reading for AI agents"
license = "MIT"
repository = "https://github.com/sting8k/srcwalk"
readme = "README.md"
homepage = "https://github.com/sting8k/srcwalk"
keywords = ["code-search", "tree-sitter", "developer-tools", "ai-agents", "code-intelligence"]
categories = ["command-line-utilities", "development-tools"]
authors = ["sting8k"]

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

[dependencies]
# CLI
clap = { version = "4", features = ["derive"] }
clap_complete = "4"

# Tree-sitter (AST outlines)
tree-sitter = "0.25"
streaming-iterator = "0.1"
tree-sitter-rust = "0.24"
tree-sitter-javascript = "0.23"
tree-sitter-typescript = "0.23"
tree-sitter-python = "0.23"
tree-sitter-go = "0.23"
tree-sitter-java = "0.23"
tree-sitter-c = "0.24"
tree-sitter-cpp = "0.23"
tree-sitter-ruby = "0.23"
tree-sitter-php = "0.24"
tree-sitter-scala = "0.24"
tree-sitter-c-sharp = "0.23"
tree-sitter-swift = "0.7"
tree-sitter-kotlin-ng = "1.1"
tree-sitter-elixir = "0.3"

# Search (ripgrep internals)
grep-regex = "0.1"
grep-searcher = "0.1"
ignore = "0.4"
globset = "0.4"

# Regex escaping (transitive dep of grep-regex, used directly for literal search)
regex-syntax = "0.8"

# Byte scanning (SIMD-accelerated)
memchr = "2"
aho-corasick = "1"
mimalloc = { version = "0.1", default-features = false }
memmap2 = "0.9"

# Parallelism
rayon = "1"

# Concurrent cache
dashmap = "6"

# Structured data parsing
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
indexmap = "2.14.0"


[dev-dependencies]
tempfile = "3"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = true
panic = "abort"
overflow-checks = false

[profile.release.build-override]
opt-level = 2

# Optimized but fast to compile — for benchmarking during development
[profile.fast]
inherits = "release"
lto = "thin"
codegen-units = 8
strip = false

# Unix signal handling: reset SIGPIPE to SIG_DFL so `srcwalk ... | head` exits
# cleanly (Rust default masks SIGPIPE → BrokenPipe panic on stdout writes).
[target.'cfg(unix)'.dependencies]
libc = "0.2"