2022-08-04 15:29:38 +02:00
|
|
|
[package]
|
|
|
|
name = "tvix-eval"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
2022-09-03 18:40:01 +02:00
|
|
|
[lib]
|
|
|
|
name = "tvix_eval"
|
|
|
|
|
2022-08-04 15:29:38 +02:00
|
|
|
[dependencies]
|
2022-12-29 12:44:09 +01:00
|
|
|
builtin-macros = { path = "./builtin-macros", package = "tvix-eval-builtin-macros" }
|
2024-08-28 23:54:46 +02:00
|
|
|
bytes = { workspace = true }
|
|
|
|
bstr = { workspace = true, features = ["serde"] }
|
|
|
|
codemap = { workspace = true }
|
|
|
|
codemap-diagnostic = { workspace = true }
|
|
|
|
dirs = { workspace = true }
|
|
|
|
genawaiter = { workspace = true }
|
|
|
|
itertools = { workspace = true }
|
|
|
|
lazy_static = { workspace = true }
|
|
|
|
lexical-core = { workspace = true, features = ["format", "parse-floats"] }
|
|
|
|
os_str_bytes = { workspace = true, features = ["conversions"] }
|
|
|
|
path-clean = { workspace = true }
|
|
|
|
proptest = { workspace = true, features = ["std", "alloc", "tempfile"], optional = true }
|
|
|
|
regex = { workspace = true }
|
|
|
|
rnix = { workspace = true }
|
|
|
|
rowan = { workspace = true } # pinned by rnix
|
|
|
|
serde = { workspace = true, features = ["rc", "derive"] }
|
|
|
|
serde_json = { workspace = true }
|
|
|
|
smol_str = { workspace = true }
|
|
|
|
tabwriter = { workspace = true }
|
|
|
|
test-strategy = { workspace = true, optional = true }
|
2023-01-24 15:54:29 +01:00
|
|
|
toml = "0.6.0"
|
2024-08-28 23:54:46 +02:00
|
|
|
sha2 = { workspace = true }
|
|
|
|
sha1 = { workspace = true }
|
|
|
|
md-5 = { workspace = true }
|
|
|
|
data-encoding = { workspace = true }
|
|
|
|
rustc-hash = { workspace = true }
|
|
|
|
nohash-hasher = { workspace = true }
|
|
|
|
vu128 = { workspace = true }
|
2022-08-10 17:52:42 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-08-28 23:54:46 +02:00
|
|
|
criterion = { workspace = true }
|
|
|
|
itertools = { workspace = true }
|
|
|
|
mimalloc = { workspace = true }
|
|
|
|
pretty_assertions = { workspace = true }
|
|
|
|
rstest = { workspace = true }
|
|
|
|
tempfile = { workspace = true }
|
2022-08-10 18:18:01 +02:00
|
|
|
|
|
|
|
[features]
|
2023-03-11 23:39:31 +01:00
|
|
|
default = ["impure", "arbitrary", "nix_tests"]
|
2022-09-03 18:40:01 +02:00
|
|
|
|
2022-08-10 18:18:01 +02:00
|
|
|
# Enables running the Nix language test suite from the original C++
|
|
|
|
# Nix implementation (at version 2.3) against Tvix.
|
|
|
|
nix_tests = []
|
2022-08-25 17:04:07 +02:00
|
|
|
|
2022-09-18 22:34:41 +02:00
|
|
|
# Enables operations in the VM which depend on the ability to perform I/O
|
|
|
|
impure = []
|
|
|
|
|
2022-09-17 19:52:02 +02:00
|
|
|
# Enables Arbitrary impls for internal types (required to run tests)
|
2024-08-13 18:08:28 +02:00
|
|
|
arbitrary = ["proptest", "test-strategy"]
|
2022-09-17 19:52:02 +02:00
|
|
|
|
2024-07-28 17:37:50 +02:00
|
|
|
# Don't leak strings (enable this if you care about peak memory usage of eval)
|
|
|
|
#
|
|
|
|
# This is intended as a stop-gap until we have a garbage collector
|
|
|
|
no_leak = []
|
|
|
|
|
2022-08-25 17:04:07 +02:00
|
|
|
[[bench]]
|
|
|
|
name = "eval"
|
|
|
|
harness = false
|