# 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 = "syntastica" version = "0.4.1" authors = ["RubixDev "] description = "Modern and easy syntax highlighting using tree-sitter" documentation = "https://rubixdev.github.io/syntastica/syntastica/" readme = "README.md" keywords = [ "tree-sitter", "syntect", "highlight", "parsing", "syntax", ] license = "GPL-3.0-only" repository = "https://github.com/RubixDev/syntastica" [package.metadata.docs.rs] all-features = true [profile.release-wasm] opt-level = "s" inherits = "release" strip = true [dependencies.aho-corasick] version = "1.0.1" [dependencies.document-features] version = "0.2.7" optional = true [dependencies.syntastica-core] version = "0.4.1" default-features = false [dependencies.syntastica-highlight] version = "0.4.1" default-features = false [dependencies.thiserror] version = "1.0.44" [dev-dependencies.once_cell] version = "1.18.0" [dev-dependencies.syntastica-macros] version = "0.4.1" [dev-dependencies.syntastica-parsers] version = "0.4.1" features = ["all"] [dev-dependencies.syntastica-parsers-git] version = "0.4.1" features = ["all"] [dev-dependencies.syntastica-queries] version = "0.4.1" [dev-dependencies.syntastica-query-preprocessor] version = "0.4.1" [dev-dependencies.syntastica-themes] version = "0.4.1" [dev-dependencies.tft] version = "0.1.0" features = ["detect"] default-features = false [dev-dependencies.toml] version = "0.7.6" [dev-dependencies.tree-sitter] version = "0.20.10" [dev-dependencies.tree-sitter-csv] version = "1.1.1" [build-dependencies.rustc_version] version = "0.4.0" optional = true [features] default = ["runtime-c"] docs = [ "dep:document-features", "dep:rustc_version", ] runtime-c = [ "syntastica-core/runtime-c", "syntastica-highlight/runtime-c", ] runtime-c2rust = [ "syntastica-core/runtime-c2rust", "syntastica-highlight/runtime-c2rust", ] serde = ["syntastica-core/serde"]