# 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 = "2018" rust-version = "1.85" name = "csscolorparser" version = "0.8.3" authors = ["Nor Khasyatillah "] build = false exclude = [".github/*"] autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "CSS color parser library" documentation = "https://docs.rs/csscolorparser/" readme = "README.md" keywords = [ "color", "colour", "css", "parser", ] categories = [ "graphics", "parser-implementations", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/mazznoer/csscolorparser-rs" [package.metadata.docs.rs] features = [ "named-colors", "rust-rgb", "cint", "serde", "std", ] [features] cint = ["dep:cint"] default = [ "named-colors", "std", ] named-colors = [ "dep:phf", "dep:uncased", ] rust-rgb = ["dep:rgb"] serde = ["dep:serde"] std = [ "phf?/std", "serde?/std", ] [lib] name = "csscolorparser" path = "src/lib.rs" [[example]] name = "cli" path = "examples/cli.rs" required-features = ["named-colors"] [[example]] name = "named-colors" path = "examples/named-colors.rs" required-features = ["named-colors"] [[test]] name = "chrome_android" path = "tests/chrome_android.rs" [[test]] name = "chromium" path = "tests/chromium.rs" [[test]] name = "color" path = "tests/color.rs" [[test]] name = "firefox" path = "tests/firefox.rs" [[test]] name = "named_colors" path = "tests/named_colors.rs" required-features = ["named-colors"] [[test]] name = "parser" path = "tests/parser.rs" [[test]] name = "parser2" path = "tests/parser2.rs" [[test]] name = "parser_relative_color" path = "tests/parser_relative_color.rs" [dependencies.cint] version = "^0.3.1" optional = true [dependencies.num-traits] version = "0.2.19" features = ["libm"] default-features = false [dependencies.phf] version = "0.11" features = [ "macros", "uncased", ] optional = true default-features = false [dependencies.rgb] version = "0.8.33" optional = true [dependencies.serde] version = "1.0.139" features = ["derive"] optional = true default-features = false [dependencies.uncased] version = "0.9.10" optional = true default-features = false [dev-dependencies.serde_test] version = "1.0.139"