tvl-depot/corp/tvixbolt/Cargo.toml
Vincent Ambo c46025d520 fix(tvix/eval): support string identifiers in inherits
This updates rnix-parser to a version where inherits provide an
iterator over `ast::Attr` instead of `ast::Ident`, which mirrors the
behaviour of Nix (inherits can have (statically known) strings as
their identifiers).

This actually required some fairly significant code reshuffling in the
compiler, as there was an implicit assumption in many places that we
would have an `ast::Ident` node available when dealing with variable
access (which is then explicitly only not true in this case).

Change-Id: I12f1e786c0030c85107b1aa409bd49adb5465546
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6747
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2022-09-22 23:07:14 +00:00

28 lines
640 B
TOML

[package]
name = "tvixbolt"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
yew = "0.19.3"
yew-router = "0.16"
codemap = "0.1.3"
serde_urlencoded = "*" # pinned by yew
web-sys = "*" # pinned by yew
# needs to be in sync with nixpkgs
wasm-bindgen = "= 0.2.82"
[dependencies.rnix]
git = "https://github.com/nix-community/rnix-parser.git"
rev = "85a045afd33e073a3eab4c0ea2f515b6bed557ab"
[dependencies.tvix-eval]
path = "../../tvix/eval"
default-features = false
[dependencies.serde]
version = "*" # pinned by yew
features = [ "derive" ]