[package]
name = "syntect"
description = "library for high quality syntax highlighting and code intelligence using Sublime Text's grammars"
documentation = "https://docs.rs/syntect"
repository = "https://github.com/trishume/syntect"
keywords = ["syntax", "highlighting", "highlighter", "colouring", "parsing"]
categories = ["parser-implementations", "parsing", "text-processing"]
readme = "Readme.md"
license = "MIT"
version = "3.3.0"
authors = ["Tristan Hume <tristan@thume.ca>"]
edition = "2018"
exclude = [
"testdata/*",
"/scripts/*",
"/Makefile",
"/codecov.yml"
]
[dependencies]
yaml-rust = { version = "0.4", optional = true }
onig = { version = "5.0", optional = true }
walkdir = "2.0"
regex-syntax = { version = "0.6", optional = true }
lazy_static = "1.0"
lazycell = "1.0"
bitflags = "1.0"
plist = "0.4"
bincode = { version = "1.0", optional = true }
flate2 = { version = "1.0", optional = true, default-features = false }
fnv = { version = "1.0", optional = true }
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
[dev-dependencies]
criterion = "0.2"
rayon = "1.0.0"
regex = "1.0"
getopts = "0.2"
pretty_assertions = "0.6"
[features]
dump-load-rs = ["flate2/rust_backend", "bincode"]
dump-load = ["flate2/default", "bincode"]
dump-create = ["flate2/default", "bincode"]
dump-create-rs = ["flate2/rust_backend", "bincode"]
parsing = ["onig", "regex-syntax", "fnv"]
metadata = ["parsing"]
assets = []
html = ["parsing", "assets"]
yaml-load = ["yaml-rust", "parsing"]
default = ["parsing", "assets", "html", "yaml-load", "dump-load", "dump-create"]
[[bench]]
name = "highlighting"
harness = false
[[bench]]
name = "loading"
harness = false
[[bench]]
name = "parsing"
harness = false