chromata 0.3.1

1000+ editor color themes as compile-time Rust constants
Documentation
# 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"
rust-version = "1.85"
name = "chromata"
version = "0.3.1"
build = false
exclude = [
    "data/",
    "xtask/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "1000+ editor color themes as compile-time Rust constants"
documentation = "https://docs.rs/chromata"
readme = "README.md"
keywords = [
    "color",
    "theme",
    "colorscheme",
    "syntax",
    "palette",
]
categories = [
    "no-std",
    "value-formatting",
    "visualization",
]
license = "GPL-3.0-only"
repository = "https://github.com/resonant-jovian/chromata"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
all = [
    "popular",
    "base16",
    "base24",
    "vim",
    "emacs",
]
base16 = []
base24 = []
bevy-color-integration = ["dep:bevy_color"]
colored-integration = ["dep:colored"]
comfy-table-integration = ["dep:comfy-table"]
crossterm-integration = ["dep:crossterm"]
cursive-integration = ["dep:cursive_core"]
default = ["popular"]
egui-integration = ["dep:egui"]
emacs = []
iced-integration = ["dep:iced_core"]
image-integration = ["dep:image"]
macroquad-integration = ["dep:macroquad"]
owo-colors-integration = ["dep:owo-colors"]
palette-integration = ["dep:palette"]
plotters-integration = ["dep:plotters"]
popular = []
ratatui-integration = ["dep:ratatui"]
serde-support = ["dep:serde"]
slint-integration = ["dep:slint"]
syntect-integration = ["dep:syntect"]
termion-integration = ["dep:termion"]
tiny-skia-integration = ["dep:tiny-skia"]
vim = []
wgpu-integration = ["dep:wgpu"]

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

[[example]]
name = "colored_terminal"
path = "examples/colored_terminal.rs"

[[example]]
name = "comfy_table_demo"
path = "examples/comfy_table_demo.rs"

[[example]]
name = "egui_gallery"
path = "examples/egui_gallery.rs"

[[example]]
name = "export_css"
path = "examples/export_css.rs"

[[example]]
name = "find_theme"
path = "examples/find_theme.rs"

[[example]]
name = "image_gradient"
path = "examples/image_gradient.rs"

[[example]]
name = "list_all"
path = "examples/list_all.rs"

[[example]]
name = "plotters_chart"
path = "examples/plotters_chart.rs"

[[example]]
name = "preview_ansi"
path = "examples/preview_ansi.rs"

[[example]]
name = "ratatui_demo"
path = "examples/ratatui_demo.rs"

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

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

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

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

[dependencies.bevy_color]
version = "0.16"
optional = true

[dependencies.colored]
version = "3"
optional = true

[dependencies.comfy-table]
version = "7"
features = ["custom_styling"]
optional = true
default-features = false

[dependencies.crossterm]
version = "0.29.0"
optional = true

[dependencies.cursive_core]
version = "0.4"
optional = true
default-features = false

[dependencies.egui]
version = "0.34.0"
optional = true
default-features = false

[dependencies.iced_core]
version = "0.14.0"
optional = true

[dependencies.image]
version = "0.25"
features = ["png"]
optional = true
default-features = false

[dependencies.libm]
version = "0.2.16"

[dependencies.macroquad]
version = "0.4"
optional = true

[dependencies.owo-colors]
version = "4"
optional = true

[dependencies.palette]
version = "0.7"
features = ["std"]
optional = true
default-features = false

[dependencies.plotters]
version = "0.3"
features = ["svg_backend"]
optional = true
default-features = false

[dependencies.ratatui]
version = "0.30.0"
optional = true
default-features = false

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

[dependencies.slint]
version = "1"
optional = true

[dependencies.syntect]
version = "5"
optional = true
default-features = false

[dependencies.tiny-skia]
version = "0.11"
optional = true

[dependencies.wgpu]
version = "25"
optional = true
default-features = false

[dev-dependencies.insta]
version = "1"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.serde_json]
version = "1"

[target."cfg(unix)".dependencies.termion]
version = "4"
optional = true

[lints.clippy]
unwrap_used = "deny"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"