repositories / smith
smith
There are many coding harnesses - but this one is fast
owned by bugabinga
Cargo.toml
RawFile outline
[workspace]
members = [
"smith",
"smith-core",
"smith-ai",
"smith-tui",
"smith-harness",
"smith-cli",
"xtask",
]
resolver = "3"
[workspace.package]
edition = "2024"
version = "0.1.0"
license = "Apache-2.0"
# Dependency tiers — law in .system/RULES.md (Dependencies); concrete map lives here.
# vocabulary: ecosystem IR, sanctioned once, facade-exempt.
# engines: one owning crate each, app vocabulary at boundaries, one stack per concern.
# leaf: small utilities, direct use.
# dev: tests and benches only.
# build tools (cargo-machete, cargo-deny, cargo-audit, wasm-tools, pup):
# xtask-installed --locked, never crate deps.
[workspace.dependencies]
# vocabulary
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
futures = "0.3"
thiserror = "2"
tracing = "0.1"
url = "2"
# engines
reqwest = { version = "0.12", default-features = false, features = [
"json",
"stream",
"blocking",
"rustls-tls",
] } # smith-ai, http stack
ciborium = "0.2" # smith-core, cbor session codec
tracing-subscriber = { version = "0.3", features = ["env-filter"] } # smith-cli, log output
similar = "2" # diff
ignore = "0.4" # search stack
grep = "0.4" # search stack
grep-regex = "0.1" # search stack
grep-searcher = "0.1" # search stack
gix = { version = "0.83", default-features = false, features = [
"blame",
"blob-diff",
"revision",
] } # vcs
oauth2 = "4" # smith-ai, oauth flows
zstd = "0.13" # compression
zip = { version = "2", default-features = false, features = ["deflate"] } # archives
tar = "0.4" # archives
flate2 = "1" # archives
jsonschema = "0.28" # smith-ai, catalog validation
sha2 = "0.10" # checksums
ratatui = "0.29" # smith-tui, terminal stack (widgets)
crossterm = "0.28" # smith-tui, terminal stack (backend)
unicode-width = "0.2" # smith-tui, terminal stack
unicode-segmentation = "1" # smith-tui, terminal stack
syntastica = { version = "0.6", default-features = false, features = [
"runtime-c2rust",
] } # smith-tui, highlighting
syntastica-parsers = "0.6" # smith-tui, highlighting
# wasmtime arrives with the wasm plugin law; owner smith-harness.
# leaf utilities
uuid = { version = "1", features = ["v7", "serde"] }
dirs = "5"
fs2 = "0.4"
nix = { version = "0.29", features = ["signal"] } # unix, smith-core process handling
clap = { version = "4", features = ["derive"] }
clap_complete = "4"
fuzzy-matcher = "0.3"
# dev
insta = "1"
assert_cmd = "2"
assert_fs = "1"
proptest = "1"
expectrl = "0.9"
criterion = { version = "0.5", features = ["async_tokio"] }
tokio = { version = "1", features = ["full"] } # dev-only until an explicit runtime decision
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = "symbols"
panic = "abort"
[profile.release.package."*"]
opt-level = 3