feat: stash

This commit is contained in:
2025-05-10 16:29:55 +08:00
parent 14045f7924
commit f86c088e97
21 changed files with 222 additions and 219 deletions

View File

@@ -3,20 +3,29 @@ name = "nixjit"
version = "0.0.0"
edition = "2024"
[features]
default = ["vm", "jit", "repl"]
vm = []
jit = ["dep:inkwell"]
repl = ["dep:rustyline"]
[[bin]]
name = "repl-vm"
required-features = ["vm", "repl"]
[profile.perf]
opt-level = 3
debug = 1
inherits = "dev"
inherits = "release"
[dependencies]
rnix = "0.11"
anyhow = "1.0"
thiserror = "2.0"
itertools = "0.12"
rpds = "1.1"
derive_more = { version = "2.0", features = [ "full" ] }
ecow = "0.2"
regex = "1.11"
inkwell = { version = "0.6.0", features = ["llvm18-1"] }
inkwell = { version = "0.6.0", features = ["llvm18-1"], optional = true }
rustyline = "15.0"
rustyline = { version = "15.0", optional = true }