32 lines
1.1 KiB
TOML
32 lines
1.1 KiB
TOML
[package]
|
|
name = "cosmic-theme"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# 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 = []
|
|
no-default = []
|
|
contrast-derivation = ["float-cmp"]
|
|
theme-from-image = ["kmeans_colors", "contrast-derivation", "float-cmp", "image"]
|
|
hex-color = ["hex"]
|
|
|
|
[dependencies]
|
|
palette = {version = "0.6", features = ["serializing"] }
|
|
anyhow = "1.0"
|
|
hex = {version = "0.4.3", optional = true}
|
|
kmeans_colors = { version = "0.5", features = ["palette_color"], default-features = false, optional = true }
|
|
image = {version = "0.24.1", optional = true }
|
|
float-cmp = { version = "0.9.0", optional = true }
|
|
serde = { version = "1.0.129", features = ["derive"] }
|
|
ron = "0.8"
|
|
lazy_static = "1.4.0"
|
|
csscolorparser = {version = "0.6.2", features = ["serde"]}
|
|
directories = { git = "https://github.com/edfloreshz/directories-rs", version = "4.0.1" }
|
|
cosmic-config = { path = "../cosmic-config/", default-features = false, features = ["subscription"] }
|
|
|