| # 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 believe there's an error in this file please file an |
| # issue against the rust-lang/cargo repository. If you're |
| # editing this file be aware that the upstream Cargo.toml |
| # will likely look very different (and much more reasonable) |
| |
| [package] |
| name = "syntect" |
| version = "2.1.0" |
| authors = ["Tristan Hume <tristan@thume.ca>"] |
| exclude = ["testdata/*"] |
| 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.onig] |
| version = "3.2.1" |
| optional = true |
| |
| [dependencies.plist] |
| version = "0.2" |
| |
| [dependencies.regex-syntax] |
| version = "0.4" |
| optional = true |
| |
| [dependencies.serde] |
| version = "1.0" |
| features = ["rc"] |
| |
| [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.5.0" |
| |
| [dev-dependencies.rayon] |
| version = "1.0.0" |
| |
| [dev-dependencies.regex] |
| version = "0.2" |
| |
| [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"] |
| parsing = ["onig", "regex-syntax", "fnv"] |
| yaml-load = ["yaml-rust", "parsing"] |