about summary refs log tree commit diff
path: root/tvix/tools/narinfo2parquet/Cargo.toml
diff options
context:
space:
mode:
authoredef <edef@edef.eu>2023-11-08T04·44+0000
committeredef <edef@edef.eu>2023-11-10T19·35+0000
commit8d02928b1493087b7f9e458411416ed268ce2112 (patch)
treefd615a5a4be1bc5d4353574ff192f1e3c911fca0 /tvix/tools/narinfo2parquet/Cargo.toml
parent45de341794b95db2e8af6dec6a8fe279cfb6c67c (diff)
feat(tvix/tools/narinfo2parquet): init r/6988
Convert turbofetch output to queryable Parquet.

Change-Id: I076f5a431f8aab8cfe7d973bdc9fe019cebde111
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9989
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/tools/narinfo2parquet/Cargo.toml')
-rw-r--r--tvix/tools/narinfo2parquet/Cargo.toml25
1 files changed, 25 insertions, 0 deletions
diff --git a/tvix/tools/narinfo2parquet/Cargo.toml b/tvix/tools/narinfo2parquet/Cargo.toml
new file mode 100644
index 000000000000..728ce8f2a527
--- /dev/null
+++ b/tvix/tools/narinfo2parquet/Cargo.toml
@@ -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 = "../../nix-compat" }
+tempfile-fast = "0.3.4"
+zstd = "0.13.0"
+
+[dependencies.polars]
+version = "0.34.2"
+default-features = false
+features = [
+    "parquet",
+    "polars-io",
+    "dtype-categorical"
+]