tvl-depot/web/tvixbolt/Cargo.toml
Ilan Joselevich 7ca32d9f0b refactor(web/tvixbolt): buildRustPackage -> crate2nix
With the recent changes to crate2nix and buildRustCrate in nixpkgs it is
now possible to build tvixbolt via crate2nix like we do for other tvix
crates. We can reuse a lot of the customizations done in //tvix in
tvixbolt to avoid repeating ourselves.

A script for serving tvixbolt locally for testing purposes is also
available now through the .serve attribute of tvixbolt.

This change supersedes https://cl.tvl.fyi/c/depot/+/11821.

Change-Id: I4864df8b75aec73cf5fee2428924ed4cfbb32902
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11952
Tested-by: BuildkiteCI
Autosubmit: Ilan Joselevich <personal@ilanjoselevich.com>
Reviewed-by: flokli <flokli@flokli.de>
2024-07-05 20:19:39 +00:00

15 lines
359 B
TOML

[package]
name = "tvixbolt"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib"]
[dependencies]
yew = "0.19.3"
yew-router = "0.16"
tvix-eval = { path = "../../tvix/eval", default-features = false }
serde = { version = "1.0.203", features = ["derive"] }
web-sys = { version = "0.3.69", features = ["HtmlDetailsElement"] }
wasm-bindgen = "0.2.92"