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