File: 0018-tree-sitter-generate-Remove-url-dependency.patch

package info (click to toggle)
tree-sitter 0.25.9-4
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 6,044 kB
  • sloc: ansic: 17,278; javascript: 2,242; makefile: 188; python: 91; cpp: 13
file content (23 lines) | stat: -rw-r--r-- 677 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: James McCoy <jamessan@debian.org>
Date: Sat, 7 Jun 2025 19:58:47 -0400
Subject: tree-sitter-generate: Remove url dependency

This is only required for Windows, so do not let it pollute a Linux package.

Forwarded: not-needed
Signed-off-by: James McCoy <jamessan@debian.org>
---
 cli/generate/Cargo.toml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/cli/generate/Cargo.toml b/cli/generate/Cargo.toml
index d3e6b22..72beabc 100644
--- a/cli/generate/Cargo.toml
+++ b/cli/generate/Cargo.toml
@@ -32,6 +32,3 @@ thiserror.workspace = true
 topological-sort.workspace = true
 
 tree-sitter.workspace = true
-
-[target.'cfg(windows)'.dependencies]
-url.workspace = true