# 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-core" version = "0.4.1" authors = ["RubixDev "] description = "Shared types and traits used by other syntastica crates" documentation = "https://rubixdev.github.io/syntastica/syntastica_core/" readme = "README.md" license = "GPL-3.0-only" repository = "https://github.com/RubixDev/syntastica" [dependencies.document-features] version = "0.2.7" optional = true [dependencies.palette] version = "0.7.2" features = ["std"] default-features = false [dependencies.serde] version = "1.0.180" features = ["derive"] optional = true [dependencies.syntastica-highlight] version = "0.4.1" default-features = false [dependencies.tft] version = "0.1.0" features = ["detect"] default-features = false [dependencies.thiserror] version = "1.0.44" [dependencies.tree-sitter] version = "0.20.10" optional = true [dependencies.tree-sitter-c2rust] version = "0.20.10" optional = true [build-dependencies.rustc_version] version = "0.4.0" optional = true [features] default = ["runtime-c"] docs = [ "dep:document-features", "dep:rustc_version", ] runtime-c = [ "dep:tree-sitter", "syntastica-highlight/runtime-c", ] runtime-c2rust = [ "dep:tree-sitter-c2rust", "syntastica-highlight/runtime-c2rust", ]