# 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" name = "druid" version = "0.8.3" authors = ["Raph Levien "] description = "Data-oriented Rust UI design toolkit." readme = "README.md" keywords = [ "gui", "ui", "toolkit", ] categories = ["gui"] license = "Apache-2.0" repository = "https://github.com/linebender/druid" resolver = "1" [package.metadata.docs.rs] features = [ "raw-win-handle", "im", "svg", "image", ] rustdoc-args = [ "--cfg", "docsrs", ] default-target = "x86_64-pc-windows-msvc" cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", ] [[example]] name = "hello" doc-scrape-examples = true [[example]] name = "cursor" required-features = [ "image", "png", ] [[example]] name = "image" required-features = [ "image", "png", ] [[example]] name = "invalidation" required-features = ["im"] [[example]] name = "list" required-features = ["im"] [[example]] name = "svg" required-features = ["svg"] [[example]] name = "tabs" required-features = ["im"] [[example]] name = "widget_gallery" required-features = [ "svg", "im", "image", "png", ] [dependencies.chrono] version = "0.4.23" optional = true [dependencies.druid-derive] version = "0.5.0" [dependencies.druid-shell] version = "0.8.3" default-features = false [dependencies.fluent-bundle] version = "0.15.2" [dependencies.fluent-langneg] version = "0.13.0" [dependencies.fluent-syntax] version = "0.11.0" [dependencies.fnv] version = "1.0.7" [dependencies.im] version = "15.1.0" optional = true [dependencies.instant] version = "0.1.12" features = ["wasm-bindgen"] [dependencies.resvg] version = "0.25.0" optional = true [dependencies.tiny-skia] version = "0.8.3" optional = true [dependencies.tracing] version = "0.1.37" [dependencies.tracing-subscriber] version = "0.3.16" features = [ "fmt", "ansi", ] default-features = false [dependencies.unic-langid] version = "0.9.1" [dependencies.unicode-segmentation] version = "1.10.1" [dependencies.usvg] version = "0.25.0" optional = true [dependencies.xi-unicode] version = "0.3.0" [dev-dependencies.float-cmp] version = "0.9.0" features = ["std"] default-features = false [dev-dependencies.piet-common] version = "0.6.2" features = ["png"] [dev-dependencies.pulldown-cmark] version = "0.8.0" default-features = false [dev-dependencies.tempfile] version = "3.4.0" [dev-dependencies.test-log] version = "0.2.11" features = ["trace"] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3.16" features = ["env-filter"] [features] bmp = ["druid-shell/bmp"] dds = ["druid-shell/dds"] default = ["gtk"] dxt = ["druid-shell/dxt"] farbfeld = ["druid-shell/farbfeld"] gif = ["druid-shell/gif"] gtk = ["druid-shell/gtk"] hdr = ["druid-shell/hdr"] ico = ["druid-shell/ico"] image = ["druid-shell/image"] image-all = [ "image", "svg", "png", "jpeg", "jpeg_rayon", "gif", "bmp", "ico", "tiff", "webp", "pnm", "dds", "tga", "farbfeld", "dxt", "hdr", ] jpeg = ["druid-shell/jpeg"] jpeg_rayon = ["druid-shell/jpeg_rayon"] png = ["druid-shell/image_png"] pnm = ["druid-shell/pnm"] raw-win-handle = ["druid-shell/raw-win-handle"] serde = [ "im/serde", "druid-shell/serde", ] svg = [ "usvg", "resvg", "tiny-skia", ] tga = ["druid-shell/tga"] tiff = ["druid-shell/tiff"] wayland = ["druid-shell/wayland"] webp = ["druid-shell/webp"] x11 = ["druid-shell/x11"] [target."cfg(not(target_arch=\"wasm32\"))".dev-dependencies.open] version = "1.7.1" [target."cfg(target_arch=\"wasm32\")".dependencies.console_error_panic_hook] version = "0.1.7" [target."cfg(target_arch=\"wasm32\")".dependencies.tracing-wasm] version = "0.2.1"