# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "rust-sitter-tool" version = "0.4.3" authors = ["Shadaj Laddad "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "The external tool for Rust Sitter that extracts grammars from Rust definitions" readme = "README.md" keywords = [ "parsing", "codegen", ] categories = ["development-tools"] license = "MIT" repository = "https://github.com/hydro-project/rust-sitter" [lib] name = "rust_sitter_tool" path = "src/lib.rs" [dependencies.cc] version = "1" optional = true [dependencies.rust-sitter-common] version = "0.4.3" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" features = ["preserve_order"] [dependencies.syn] version = "2" features = [ "full", "extra-traits", ] [dependencies.syn-inline-mod] version = "0.6" [dependencies.tempfile] version = "3" optional = true [dependencies.tree-sitter] version = "0.24.3" optional = true [dependencies.tree-sitter-generate] version = "0.24.3" optional = true [dev-dependencies.insta] version = "1.39" [features] build_parsers = [ "dep:tempfile", "dep:tree-sitter", "dep:tree-sitter-generate", "dep:cc", ] default = ["build_parsers"]