3bf487b98b
In this commit, the string interpolation parsing is identical to nixpkgs which makes some of the upstream Nix tests for interpolation-related weirdness pass. Change-Id: I3a295cfdc404c32228a54846e6efd3c0dcee5842 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6233 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
37 lines
930 B
TOML
37 lines
930 B
TOML
[package]
|
|
name = "tvix-eval"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
smol_str = "0.1"
|
|
rustyline = "10.0.0"
|
|
dirs = "4.0.0"
|
|
path-clean = "0.1"
|
|
tabwriter = { version = "1.2", optional = true }
|
|
rowan = "*" # pinned by rnix
|
|
|
|
# rnix has not been released in a while (as of 2022-08-22), we will
|
|
# use it from git.
|
|
[dependencies.rnix]
|
|
git = "https://github.com/nix-community/rnix-parser.git"
|
|
rev = "614e7d4641e83ab7eb321d9ac5e3d12985f9f3ba"
|
|
|
|
[dev-dependencies]
|
|
criterion = "0.3.6"
|
|
test-generator = "0.3.0"
|
|
pretty_assertions = "1.2.1"
|
|
|
|
[features]
|
|
# Enables running the Nix language test suite from the original C++
|
|
# Nix implementation (at version 2.3) against Tvix.
|
|
nix_tests = []
|
|
|
|
# Enables printing compiled code and tracing the stack state at runtime.
|
|
disassembler = ["dep:tabwriter"]
|
|
|
|
[[bench]]
|
|
name = "eval"
|
|
harness = false
|