# 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 = "2021" rust-version = "1.66.0" name = "stylist" version = "0.13.0" authors = [ "Kaede Hoshiakwa ", "Martin Molzer ", ] description = "Stylist is a CSS-in-Rust styling solution for WebAssembly Applications." homepage = "https://github.com/futursolo/stylist-rs" readme = "README.md" keywords = [ "CSS", "web", "css-in-rust", "yew", ] categories = [ "wasm", "web-programming", ] license = "MIT" repository = "https://github.com/futursolo/stylist-rs" resolver = "2" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "documenting", ] [lib] crate-type = [ "cdylib", "rlib", ] [dependencies.fastrand] version = "2.0.0" optional = true [dependencies.gloo-events] version = "0.2.0" optional = true [dependencies.html-escape] version = "0.2.12" optional = true [dependencies.instant] version = "0.1.12" features = ["wasm-bindgen"] optional = true [dependencies.once_cell] version = "1.16.0" [dependencies.serde] version = "1" features = ["derive"] [dependencies.stylist-core] version = "0.13" [dependencies.stylist-macros] version = "0.13" optional = true [dependencies.wasm-bindgen] version = "0.2.83" [dependencies.web-sys] version = "0.3.60" features = [ "Window", "Document", "Element", "HtmlElement", "HtmlHeadElement", "HtmlStyleElement", ] [dependencies.yew] version = "0.21" optional = true default-features = false [dev-dependencies.env_logger] version = "0.10.0" [dev-dependencies.log] version = "0.4.17" [dev-dependencies.rustversion] version = "1" [dev-dependencies.trybuild] version = "1.0.72" [dev-dependencies.yew] version = "0.21" [features] debug_parser = ["stylist-core/parser"] debug_style_locations = [] default = [ "debug_style_locations", "debug_parser", "macros", "random", ] hydration = [] macros = ["stylist-macros"] parser = ["stylist-core/parser"] random = [ "dep:fastrand", "dep:instant", ] ssr = ["html-escape"] yew_integration = [ "yew", "yew_use_media_query", "yew_use_style", ] yew_use_media_query = [ "yew", "web-sys/MediaQueryList", "dep:gloo-events", ] yew_use_style = ["yew"]