chore(tvix/tools): move narinfo2parquet to //users/edef

This is not a core Tvix tool, it's a tool that uses a Tvix component.

Change-Id: I81d2b2374da23489df0097dcabb8295c82652fc1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12606
Reviewed-by: edef <edef@edef.eu>
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
This commit is contained in:
Vincent Ambo 2024-10-13 02:00:13 +03:00 committed by clbot
parent bb34210a64
commit cb032b250e
6 changed files with 448 additions and 176 deletions

View file

@ -0,0 +1,25 @@
[package]
name = "narinfo2parquet"
version = "0.1.0"
edition = "2021"
# We can't join the //tvix workspace, because that locks zstd
# at an ancient version, which is incompatible with polars
[workspace]
members = ["."]
[dependencies]
anyhow = { version = "1.0.75", features = ["backtrace"] }
jemallocator = "0.5.4"
nix-compat = { version = "0.1.0", path = "../../../tvix/nix-compat" }
tempfile-fast = "0.3.4"
zstd = "0.13.0"
[dependencies.polars]
version = "0.36.2"
default-features = false
features = [
"parquet",
"polars-io",
"dtype-categorical"
]