refactor: reduce coupling

This commit is contained in:
2025-07-28 21:37:27 +08:00
parent 78e3c5a26e
commit 7afb2a7b1c
53 changed files with 2964 additions and 3444 deletions

View File

@@ -1,38 +1,14 @@
[package]
name = "nixjit"
version = "0.0.0"
edition = "2024"
[features]
repl = ["dep:rustyline"]
[[bin]]
name = "repl"
required-features = ["repl"]
[profile.perf]
debug = 2
strip = false
inherits = "release"
[profile.release]
strip = true
[dependencies]
rnix = "0.12"
thiserror = "2.0"
itertools = "0.14"
derive_more = { version = "2.0", features = ["full"] }
ecow = "0.2"
regex = "1.11"
hashbrown = "0.15"
petgraph = "0.8"
priority-queue = "2.5"
lru = "0.14"
replace_with = "0.1"
cranelift = "0.121"
cranelift-module = "0.121"
cranelift-jit = "0.121"
cranelift-native = "0.121"
rustyline = { version = "15.0", optional = true }
[workspace]
resolver = "3"
members = [
"evaluator/nixjit",
"evaluator/nixjit_context",
"evaluator/nixjit_error",
"evaluator/nixjit_eval",
"evaluator/nixjit_hir",
"evaluator/nixjit_ir",
"evaluator/nixjit_jit",
"evaluator/nixjit_lir",
"evaluator/nixjit_macros",
"evaluator/nixjit_value",
]