theme::Builder::build: - #[allow(unused_assignments)] with a note explaining the pattern: the component_hovered/pressed_overlay seeds at the top of the function are overwritten by every container block (primary, secondary, …) before being read, which is what unused_assignments flagged. vs_code.rs: - Add doc + # Errors section to Theme::apply_vs_code and the associated Theme::reset_vs_code (was missing under #![warn(missing_docs)]). Cargo.toml profile move: - cosmic-theme had a [profile.dev.package] block that Cargo silently ignores in non-root manifests. Move the insta/similar opt-level=3 hint to the workspace root and drop the dead block from the cosmic-theme manifest. Removes the cargo-level "profiles for the non root package will be ignored" notice that came up on every check. Leyoda 2026 – GPLv3
36 lines
874 B
TOML
36 lines
874 B
TOML
[package]
|
|
name = "cosmic-theme"
|
|
version = "1.0.0"
|
|
edition = "2024"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["test_all_features"]
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[features]
|
|
default = ["export"]
|
|
export = ["serde_json"]
|
|
no-default = []
|
|
|
|
[dependencies]
|
|
palette = { version = "0.7.6", features = ["serializing"] }
|
|
almost = "0.2"
|
|
serde = { version = "1.0.228", features = ["derive"] }
|
|
serde_json = { version = "1.0.149", optional = true, features = [
|
|
"preserve_order",
|
|
] }
|
|
ron = "0.12.0"
|
|
csscolorparser = { version = "0.8.3", features = ["serde"] }
|
|
cosmic-config = { path = "../cosmic-config/", default-features = false, features = [
|
|
"subscription",
|
|
"macro",
|
|
] }
|
|
configparser = "3.1.0"
|
|
dirs.workspace = true
|
|
thiserror = "2.0.18"
|
|
|
|
[dev-dependencies]
|
|
insta = "1.47.2"
|
|
|