# 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 = "2024"
name = "oak-highlight"
version = "0.0.9"
authors = ["Yggdrasill Team <192607617@qq.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight syntax highlighter for Rust with support for multiple programming languages and customizable themes."
homepage = "https://github.com/ygg-lang/oaks"
documentation = "https://docs.rs/oak-highlight"
readme = "readme.md"
keywords = [
    "syntax-highlighting",
    "code-highlighting",
    "multi-language",
    "rust",
]
categories = ["text-processing"]
license = "MPL-2.0"
repository = "https://github.com/ygg-lang/oaks/tree/master/projects/oak-highlight"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["serde"]
serde = [
    "dep:serde",
    "oak-core/serde",
]

[lib]
name = "oak_highlight"
path = "src/lib.rs"

[[test]]
name = "main"
path = "tests/main.rs"

[dependencies.oak-core]
version = "0.0.9"

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "rc",
]
optional = true

[dev-dependencies.oak-testing]
version = "0.0.9"
