From ba9fc7cff5577ca492bc4d8253eb33f92d25f322 Mon Sep 17 00:00:00 2001 From: Benjamin Bannier Date: Tue, 17 Sep 2024 12:47:02 +0200 Subject: [PATCH] Pin topiary dependencies to exact version --- Cargo.lock | 59 +++--------------------------------------------------- Cargo.toml | 4 ++-- 2 files changed, 5 insertions(+), 58 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3691dbc..7ffa3e5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -63,28 +63,6 @@ dependencies = [ "wait-timeout", ] -[[package]] -name = "async-stream" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51" -dependencies = [ - "async-stream-impl", - "futures-core", - "pin-project-lite", -] - -[[package]] -name = "async-stream-impl" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "autocfg" version = "1.3.0" @@ -138,12 +116,6 @@ version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" -[[package]] -name = "bytes" -version = "1.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" - [[package]] name = "cc" version = "1.1.18" @@ -1113,34 +1085,10 @@ dependencies = [ "syn", ] -[[package]] -name = "tokio-stream" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f4e6ce100d0eb49a2734f8c0812bcd324cf357d21810932c5df6b96ef2b86f1" -dependencies = [ - "futures-core", - "pin-project-lite", - "tokio", -] - -[[package]] -name = "tokio-test" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2468baabc3311435b55dd935f702f42cd1b8abb7e754fb7dfb16bd36aa88f9f7" -dependencies = [ - "async-stream", - "bytes", - "futures-core", - "tokio", - "tokio-stream", -] - [[package]] name = "topiary-core" version = "0.4.2" -source = "git+https://github.com/tweag/topiary.git#51e03797a76dd302eec9fc4a79cc8745588f62c2" +source = "git+https://github.com/tweag/topiary.git?rev=2be4b840e008f659a5b5950f152275b500c4dfcd#2be4b840e008f659a5b5950f152275b500c4dfcd" dependencies = [ "futures", "itertools", @@ -1150,7 +1098,6 @@ dependencies = [ "serde", "serde_json", "tokio", - "tokio-test", "topiary-tree-sitter-facade", "topiary-web-tree-sitter-sys", ] @@ -1158,7 +1105,7 @@ dependencies = [ [[package]] name = "topiary-tree-sitter-facade" version = "0.4.2" -source = "git+https://github.com/tweag/topiary.git#51e03797a76dd302eec9fc4a79cc8745588f62c2" +source = "git+https://github.com/tweag/topiary.git?rev=2be4b840e008f659a5b5950f152275b500c4dfcd#2be4b840e008f659a5b5950f152275b500c4dfcd" dependencies = [ "js-sys", "topiary-web-tree-sitter-sys", @@ -1170,7 +1117,7 @@ dependencies = [ [[package]] name = "topiary-web-tree-sitter-sys" version = "0.4.2" -source = "git+https://github.com/tweag/topiary.git#51e03797a76dd302eec9fc4a79cc8745588f62c2" +source = "git+https://github.com/tweag/topiary.git?rev=2be4b840e008f659a5b5950f152275b500c4dfcd#2be4b840e008f659a5b5950f152275b500c4dfcd" dependencies = [ "js-sys", "wasm-bindgen", diff --git a/Cargo.toml b/Cargo.toml index 75dc960..d22dde9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,8 +9,8 @@ repository = "https://github.com/bbannier/spicy-format" [dependencies] tree-sitter-spicy = { git = "https://github.com/bbannier/tree-sitter-spicy" } -topiary-core = { git = "https://github.com/tweag/topiary.git", version = "0.4.0" } -topiary-tree-sitter-facade = { git = "https://github.com/tweag/topiary.git", version = "0.4.0" } +topiary-core = { git = "https://github.com/tweag/topiary.git", rev = "2be4b840e008f659a5b5950f152275b500c4dfcd" } +topiary-tree-sitter-facade = { git = "https://github.com/tweag/topiary.git", rev = "2be4b840e008f659a5b5950f152275b500c4dfcd" } clap = { version = "4.5.17", features = ["std", "derive", "help"], default-features = false } thiserror = "1.0.63" miette = { version = "7.2.0", default-features = false, features = ["derive", "fancy"] }