# 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" version = "0.4.3" authors = ["Shadaj Laddad "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A package for defining tree-sitter grammars alongside Rust logic" readme = "README.md" keywords = [ "parsing", "codegen", ] categories = ["development-tools"] license = "MIT" repository = "https://github.com/hydro-project/rust-sitter" [lib] name = "rust_sitter" path = "src/lib.rs" [dependencies.rust-sitter-macro] version = "0.4.3" [dependencies.tree-sitter-runtime-c2rust] version = "0.24.3" optional = true package = "tree-sitter-c2rust" [dependencies.tree-sitter-runtime-standard] version = "0.24.3" optional = true package = "tree-sitter" [dev-dependencies.insta] version = "1.39" [dev-dependencies.tempfile] version = "3.2.0" [features] default = ["tree-sitter-c2rust"] tree-sitter-c2rust = ["tree-sitter-runtime-c2rust"] tree-sitter-standard = ["tree-sitter-runtime-standard"]