63047449d7
This switches tvix-cli over from using `NixCompatIO` to `TvixStoreIO`. For now, we simply instantiate in-memory services instead of getting fancy with constructors inside tvix-store, but long-term, we might want to support some URI syntax, to make this configurable at runtime. nixpkgs eval tests might be fine (and fast!) with a purely in-memory backend, but other usages might involve talking to a local tvix-store over gRPC (using the gRPC client, either unix domain socket or even further away remote), or running tvix-store in "embedded" mode (using another client than the gRPC client). Change-Id: I509afd3dc5ce3f2d52b0fb7067748fab820e26ab Reviewed-on: https://cl.tvl.fyi/c/depot/+/8572 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
23 lines
477 B
TOML
23 lines
477 B
TOML
[package]
|
|
name = "tvix-cli"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[[bin]]
|
|
name = "tvix"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
nix-compat = { path = "../nix-compat" }
|
|
tvix-store = { path = "../store" }
|
|
tvix-eval = { path = "../eval" }
|
|
rustyline = "10.0.0"
|
|
clap = { version = "4.0", features = ["derive", "env"] }
|
|
dirs = "4.0.0"
|
|
smol_str = "0.2.0"
|
|
ssri = "7.0.0"
|
|
data-encoding = "2.3.3"
|
|
thiserror = "1.0.38"
|
|
|
|
[dependencies.wu-manber]
|
|
git = "https://github.com/tvlfyi/wu-manber.git"
|