# 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" rust-version = "1.64" name = "two-face" version = "0.4.0" exclude = [ "/.github/*", "/generated/*.md", ] description = "Extra syntax and theme definitions for syntect" homepage = "https://github.com/CosmicHorrorDev/two-face" readme = "README.md" keywords = [ "syntect", "extra", "syntaxes", "themes", ] categories = [ "parser-implementations", "text-processing", ] license = "MIT OR Apache-2.0" repository = "https://github.com/CosmicHorrorDev/two-face" [package.metadata.docs.rs] features = ["syntect-default-onig"] [dependencies.once_cell] version = "1.18.0" [dependencies.serde] version = "1.0.100" features = ["derive"] [dependencies.syntect] version = "5.1.0" features = [ "dump-load", "parsing", ] default-features = false [dev-dependencies.insta] version = "1.38.0" [dev-dependencies.strum] version = "0.25.0" features = ["derive"] [dev-dependencies.syntect] version = "5.1.0" features = ["html"] default-features = false [features] default = ["syntect-onig"] syntect-default-fancy = [ "syntect-fancy", "syntect/default-fancy", ] syntect-default-onig = [ "syntect-onig", "syntect/default-onig", ] syntect-fancy = ["syntect/regex-fancy"] syntect-onig = ["syntect/regex-onig"]