# 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" rust-version = "1.65" name = "tree-sitter-c2rust" version = "0.24.3" authors = [ "Shadaj Laddad ", "Max Brunsfeld ", ] build = "binding_rust/build.rs" include = [ "/binding_rust/*", "/Cargo.toml", "/src/*.h", "/src/*.c", "/src/unicode/*", "/src/wasm/*", "/include/tree_sitter/api.h", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Rust bindings to the Tree-sitter parsing library, with a pure Rust runtime via c2rust" homepage = "https://tree-sitter.github.io/tree-sitter" readme = "binding_rust/README.md" keywords = [ "incremental", "parsing", ] categories = [ "api-bindings", "parsing", "text-editors", ] license = "MIT" repository = "https://github.com/shadaj/tree-sitter-c2rust" [lib] name = "tree_sitter_c2rust" path = "binding_rust/lib.rs" [dependencies.c2rust-bitfields] version = "0.3" [dependencies.errno] version = "0.3" optional = true [dependencies.libc] version = "0.2" optional = true [dependencies.once_cell] version = "1.3.1" [dependencies.regex] version = "1.10.6" features = ["unicode"] default-features = false [dependencies.regex-syntax] version = "0.8.4" default-features = false [dependencies.streaming-iterator] version = "0.1.9" [dependencies.tree-sitter-language] version = "0.1" [dependencies.wasmtime-c-api] version = "25.0.2" features = ["cranelift"] optional = true default-features = false package = "wasmtime-c-api-impl" [features] capi = [ "errno", "libc", ] default = ["std"] std = [ "regex/std", "regex/perf", "regex-syntax/unicode", ] wasm = ["wasmtime-c-api"]