tvl-depot/tvix/build/Cargo.toml
Florian Klink 8486f87e3c feat(tvix/build): add derivation_to_build_request
This function converts from a nix_compat::derivation::Derivation to
a BuildRequest.

In addition to the Derivation itself, it needs two lookup functions to
map input paths to their castore nodes.

Change-Id: I0332982f0bc7933a5fda137fe39d5a850639d929
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10236
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
2023-12-11 22:35:39 +00:00

22 lines
375 B
TOML

[package]
name = "tvix-build"
version = "0.1.0"
edition = "2021"
[dependencies]
bytes = "1.4.0"
prost = "0.12.1"
tonic = "0.10.2"
tvix-castore = { path = "../castore" }
[dependencies.tonic-reflection]
optional = true
version = "0.10.2"
[build-dependencies]
prost-build = "0.12.1"
tonic-build = "0.10.2"
[features]
default = []
tonic-reflection = ["dep:tonic-reflection"]