singularity-forge/native/crates/engine/Cargo.toml
ace-pm 172753c3b2 refactor(forge): complete gsd → forge rebrand across native, logging, and build system
- Rename native Rust crates: gsd-engine → forge-engine, gsd-ast → forge-ast, gsd-grep → forge-grep
- Update all crate dependencies (Cargo.toml, .rs source) and N-API artifacts
- Mass rename log prefix [gsd] → [forge] across 81 files (scripts, src/, extensions, tests)
- Rename log prefix "gsd-db:" → "forge-db:" in template literals
- Update nix flake: add sf-run-native devShell with Rust toolchain for native addon builds
- Update CI workflow artifact names (build-native.yml)
- Verify only packages/native/* touched (no upstream pi-* packages renamed)

Rationale: Complete gsd-2 → singularity-forge rebrand (2026-04-15). Native addon is
sf-run-specific; all gsd-prefixed logging and crate names must align with new identity.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 14:11:45 +02:00

46 lines
1.1 KiB
TOML

[package]
name = "forge-engine"
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
description = "N-API native addon for GSD — exposes high-performance Rust modules to Node.js"
[lib]
crate-type = ["cdylib", "rlib"]
test = false
doctest = false
[dependencies]
forge-ast = { path = "../ast" }
forge-grep = { path = "../grep" }
arboard = "3"
dashmap = "6"
globset = "0.4"
html-to-markdown-rs = { version = "2", default-features = false }
ignore = "0.4"
memchr = "2"
image = { version = "0.25", default-features = false, features = [
"png",
"jpeg",
"gif",
"webp",
] }
napi = { version = "2", features = ["napi8"] }
napi-derive = "2"
regex = "1"
serde_json = "1"
similar = "2"
smallvec = "1"
syntect = { version = "5", default-features = false, features = ["default-syntaxes", "default-themes", "regex-fancy"] }
unicode-segmentation = "1"
unicode-width = "0.2"
xxhash-rust = { version = "0.8", features = ["xxh32"] }
git2 = { version = "0.20", default-features = false, features = ["vendored-libgit2"] }
[build-dependencies]
napi-build = "2"
[target.'cfg(unix)'.dependencies]
libc = "0.2"