[package]
edition = "2024"
rust-version = "1.100"
name = "rouge-theme"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Renderer-neutral colors, UI and Markdown palettes, and semantic control states for Rouge"
readme = "README.md"
keywords = [
"gui",
"ui",
"theme",
"palette",
"colors",
]
categories = ["gui"]
license = "MIT"
repository = "https://github.com/jcarver989/rouge"
[lib]
name = "rouge_theme"
path = "src/lib.rs"
[[test]]
name = "appearance_test"
path = "tests/appearance_test.rs"
[[test]]
name = "palette_test"
path = "tests/palette_test.rs"
[dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"
[lints.cargo.pedantic]
level = "warn"
priority = -1
[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
float_cmp = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
return_self_not_must_use = "allow"
too_many_lines = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unreachable_pub = "warn"
unsafe_code = "deny"