From 016dd7afbf6788197d920220d7686f0dda1151b8 Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Sun, 26 Jan 2025 12:25:13 -0500 Subject: [PATCH] feat(bindings): use `cc` 1.2 for Rust --- cli/src/templates/_cargo.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/cli/src/templates/_cargo.toml b/cli/src/templates/_cargo.toml index 0dbe2f80..2fda0ec7 100644 --- a/cli/src/templates/_cargo.toml +++ b/cli/src/templates/_cargo.toml @@ -12,7 +12,13 @@ edition = "2021" autoexamples = false build = "bindings/rust/build.rs" -include = ["bindings/rust/*", "grammar.js", "queries/*", "src/*", "tree-sitter.json"] +include = [ + "bindings/rust/*", + "grammar.js", + "queries/*", + "src/*", + "tree-sitter.json", +] [lib] path = "bindings/rust/lib.rs" @@ -21,7 +27,7 @@ path = "bindings/rust/lib.rs" tree-sitter-language = "0.1" [build-dependencies] -cc = "1.1.22" +cc = "1.2" [dev-dependencies] tree-sitter = "RUST_BINDING_VERSION"