[package]
edition = "2018"
name = "syntect"
version = "3.3.0"
authors = ["Tristan Hume <tristan@thume.ca>"]
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"
[[bench]]
name = "highlighting"
harness = false
[[bench]]
name = "loading"
harness = false
[[bench]]
name = "parsing"
harness = false
[dependencies.bincode]
version = "1.0"
optional = true
[dependencies.bitflags]
version = "1.0"
[dependencies.flate2]
version = "1.0"
optional = true
default-features = false
[dependencies.fnv]
version = "1.0"
optional = true
[dependencies.lazy_static]
version = "1.0"
[dependencies.lazycell]
version = "1.0"
[dependencies.onig]
version = "5.0"
optional = true
[dependencies.plist]
version = "0.4"
[dependencies.regex-syntax]
version = "0.6"
optional = true
[dependencies.serde]
version = "1.0"
[dependencies.serde_derive]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.walkdir]
version = "2.0"
[dependencies.yaml-rust]
version = "0.4"
optional = true
[dev-dependencies.criterion]
version = "0.2"
[dev-dependencies.getopts]
version = "0.2"
[dev-dependencies.pretty_assertions]
version = "0.6"
[dev-dependencies.rayon]
version = "1.0.0"
[dev-dependencies.regex]
version = "1.0"
[features]
assets = []
default = ["parsing", "assets", "html", "yaml-load", "dump-load", "dump-create"]
dump-create = ["flate2/default", "bincode"]
dump-create-rs = ["flate2/rust_backend", "bincode"]
dump-load = ["flate2/default", "bincode"]
dump-load-rs = ["flate2/rust_backend", "bincode"]
html = ["parsing", "assets"]
metadata = ["parsing"]
parsing = ["onig", "regex-syntax", "fnv"]
yaml-load = ["yaml-rust", "parsing"]