about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEvgeny Zemtsov <eze@resoptima.com>2023-06-22T20·24+0200
committerezemtsov <eugene.zemtsov@gmail.com>2023-06-22T20·30+0000
commit4528052eb78c4a180f52f9601bc727c56dc8b08d (patch)
tree89a54594d51c97d1d4f0be646caeebe4ae97bd7d
parentc8fcdca4eb09709966ea25883cbe91f34c038236 (diff)
fix(tvix/serde): remove unnecessary dependency on genawaiter r/6345
Change-Id: I52f13c6b508793603bc726353e9bf7d5f12fddf4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8850
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
-rw-r--r--tvix/Cargo.lock1
-rw-r--r--tvix/Cargo.nix7
-rw-r--r--tvix/serde/Cargo.toml5
-rw-r--r--tvix/serde/src/de_tests.rs3
4 files changed, 2 insertions, 14 deletions
diff --git a/tvix/Cargo.lock b/tvix/Cargo.lock
index 78758fa99822..7bcf60dceca3 100644
--- a/tvix/Cargo.lock
+++ b/tvix/Cargo.lock
@@ -2755,7 +2755,6 @@ dependencies = [
 name = "tvix-serde"
 version = "0.1.0"
 dependencies = [
- "genawaiter",
  "serde",
  "tvix-eval",
 ]
diff --git a/tvix/Cargo.nix b/tvix/Cargo.nix
index 6227178d88fd..df2b4495ae69 100644
--- a/tvix/Cargo.nix
+++ b/tvix/Cargo.nix
@@ -8169,13 +8169,6 @@ rec {
             packageId = "tvix-eval";
           }
         ];
-        devDependencies = [
-          {
-            name = "genawaiter";
-            packageId = "genawaiter";
-            usesDefaultFeatures = false;
-          }
-        ];
 
       };
       "tvix-store" = rec {
diff --git a/tvix/serde/Cargo.toml b/tvix/serde/Cargo.toml
index 774214eab667..e535f6e8a397 100644
--- a/tvix/serde/Cargo.toml
+++ b/tvix/serde/Cargo.toml
@@ -5,7 +5,4 @@ edition = "2021"
 
 [dependencies]
 tvix-eval = { path = "../eval" }
-serde = { version = "1.0", features = ["derive"] }
-
-[dev-dependencies]
-genawaiter = { version = "0.99.1", default_features = false }
\ No newline at end of file
+serde = { version = "1.0", features = ["derive"] }
\ No newline at end of file
diff --git a/tvix/serde/src/de_tests.rs b/tvix/serde/src/de_tests.rs
index a77a59f2b5cd..9764653caa86 100644
--- a/tvix/serde/src/de_tests.rs
+++ b/tvix/serde/src/de_tests.rs
@@ -213,8 +213,7 @@ fn deserialize_with_config() {
 
 #[builtins]
 mod test_builtins {
-    use genawaiter::rc::Gen;
-    use tvix_eval::generators::GenCo;
+    use tvix_eval::generators::{Gen, GenCo};
     use tvix_eval::{ErrorKind, NixString, Value};
 
     #[builtin("prependHello")]