Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit e1c532d

Browse files
author
Hendrik van Antwerpen
committed
Be explicit about language projects using the clap derive feature
1 parent a80bd02 commit e1c532d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • languages/tree-sitter-stack-graphs-java
  • tree-sitter-stack-graphs/src/cli

languages/tree-sitter-stack-graphs-java/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ harness = false # need to provide own main function to handle running tests
3535

3636
[dependencies]
3737
anyhow = "1.0"
38-
clap = "4"
38+
clap = { version = "4", features = ["derive"] }
3939
tree-sitter-stack-graphs = { version = "~0.6.0", path = "../../tree-sitter-stack-graphs", features=["cli"] }
4040
tree-sitter-java = { version = "~0.20.0" }

tree-sitter-stack-graphs/src/cli/init.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ impl ProjectSettings<'_> {
658658
659659
[dependencies]
660660
anyhow = {{ version = "1.0", optional = true }}
661-
clap = {{ version = "4", optional = true }}
661+
clap = {{ version = "4", optional = true, features = ["derive"] }}
662662
tree-sitter-stack-graphs = {{ {} }}
663663
{} = "{}"
664664

0 commit comments

Comments
 (0)