# 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 = "syntect" version = "5.2.0" authors = ["Tristan Hume "] exclude = [ "testdata/*", "/scripts/*", "/Makefile", "/codecov.yml", ] description = "library for high quality syntax highlighting and code intelligence using Sublime Text's grammars" documentation = "https://docs.rs/syntect" readme = "Readme.md" keywords = [ "syntax", "highlighting", "highlighter", "colouring", "parsing", ] categories = [ "parser-implementations", "parsing", "text-processing", ] license = "MIT" repository = "https://github.com/trishume/syntect" [lib] bench = false [[bench]] name = "highlighting" harness = false [[bench]] name = "load_and_highlight" harness = false [[bench]] name = "loading" harness = false [[bench]] name = "parsing" harness = false [dependencies.bincode] version = "1.0" optional = true [dependencies.bitflags] version = "1.0.4" [dependencies.fancy-regex] version = "0.11" optional = true [dependencies.flate2] version = "1.0" optional = true [dependencies.fnv] version = "1.0" optional = true [dependencies.once_cell] version = "1.8" [dependencies.onig] version = "6.0" optional = true default-features = false [dependencies.plist] version = "1.3" optional = true [dependencies.regex-syntax] version = "0.8" optional = true [dependencies.serde] version = "1.0" [dependencies.serde_derive] version = "1.0" [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "1.0" [dependencies.walkdir] version = "2.0" [dependencies.yaml-rust] version = "0.4.5" optional = true [dev-dependencies.criterion] version = "0.3" features = ["html_reports"] [dev-dependencies.expect-test] version = "1.4.1" [dev-dependencies.getopts] version = "0.2" [dev-dependencies.pretty_assertions] version = "0.6" [dev-dependencies.public-api] version = "0.33.1" [dev-dependencies.rayon] version = "1.0.0" [dev-dependencies.regex] version = "1.0" [dev-dependencies.rustdoc-json] version = "0.8.8" [dev-dependencies.rustup-toolchain] version = "0.1.5" [features] default = ["default-onig"] default-fancy = [ "parsing", "default-syntaxes", "default-themes", "html", "plist-load", "yaml-load", "dump-load", "dump-create", "regex-fancy", ] default-onig = [ "parsing", "default-syntaxes", "default-themes", "html", "plist-load", "yaml-load", "dump-load", "dump-create", "regex-onig", ] default-syntaxes = [ "parsing", "dump-load", ] default-themes = ["dump-load"] dump-create = [ "flate2", "bincode", ] dump-load = [ "flate2", "bincode", ] html = ["parsing"] metadata = [ "parsing", "plist-load", ] parsing = [ "regex-syntax", "fnv", "dump-create", "dump-load", ] plist-load = ["plist"] regex-fancy = ["fancy-regex"] regex-onig = ["onig"] yaml-load = [ "yaml-rust", "parsing", ]