about summary refs log tree commit diff
path: root/tvix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-08-11T21·26+0300
committertazjin <tazjin@tvl.su>2022-08-26T17·19+0000
commitd14db8dcaae3c6d624ce17417ac58a44a6f5983c (patch)
tree37698c3236b44c3a9865711b2e75c454bb1293f4 /tvix
parent49f416c17631c5f927c27b475dc3b37c0757e5b7 (diff)
chore(tvix/cargo): add dirs dependency r/4504
This crate provides sensible default locations for directories on
different platforms.

Change-Id: I0b61cc7f626dc6c8df903ba0f873be24e07d69b5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6170
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix')
-rw-r--r--tvix/eval/Cargo.lock21
-rw-r--r--tvix/eval/Cargo.toml1
2 files changed, 22 insertions, 0 deletions
diff --git a/tvix/eval/Cargo.lock b/tvix/eval/Cargo.lock
index b984f46bdbe9..c25839fdbb47 100644
--- a/tvix/eval/Cargo.lock
+++ b/tvix/eval/Cargo.lock
@@ -202,6 +202,15 @@ dependencies = [
 ]
 
 [[package]]
+name = "dirs"
+version = "4.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ca3aa72a6f96ea37bbc5aa912f6788242832f75369bdfdadcb0e38423f100059"
+dependencies = [
+ "dirs-sys",
+]
+
+[[package]]
 name = "dirs-next"
 version = "2.0.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -212,6 +221,17 @@ dependencies = [
 ]
 
 [[package]]
+name = "dirs-sys"
+version = "0.3.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6"
+dependencies = [
+ "libc",
+ "redox_users",
+ "winapi",
+]
+
+[[package]]
 name = "dirs-sys-next"
 version = "0.1.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -813,6 +833,7 @@ name = "tvix-eval"
 version = "0.1.0"
 dependencies = [
  "criterion",
+ "dirs",
  "rnix",
  "rustyline",
  "smol_str",
diff --git a/tvix/eval/Cargo.toml b/tvix/eval/Cargo.toml
index 51b9af67e859..b4cf60467541 100644
--- a/tvix/eval/Cargo.toml
+++ b/tvix/eval/Cargo.toml
@@ -9,6 +9,7 @@ edition = "2021"
 rnix = "0.10.2"
 smol_str = "0.1"
 rustyline = "10.0.0"
+dirs = "4.0.0"
 
 [dev-dependencies]
 criterion = "0.3.6"