# 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.80.0" name = "cushy" version = "0.4.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A wgpu-powered graphical user interface (GUI) library with a reactive data model" readme = "README.md" keywords = [ "gui", "ui", "widgets", "reactive", ] categories = ["gui"] license = "MIT OR Apache-2.0" repository = "https://github.com/khonsulabs/cushy" [profile.dev.package."*"] opt-level = 2 [profile.release] [lib] name = "cushy" path = "src/lib.rs" [[example]] name = "animation" path = "examples/animation.rs" [[example]] name = "background-tasks" path = "examples/background-tasks.rs" [[example]] name = "basic-button" path = "examples/basic-button.rs" [[example]] name = "buttonception" path = "examples/buttonception.rs" [[example]] name = "buttons" path = "examples/buttons.rs" [[example]] name = "canvas" path = "examples/canvas.rs" [[example]] name = "checkbox" path = "examples/checkbox.rs" [[example]] name = "collapse" path = "examples/collapse.rs" [[example]] name = "color-pickers" path = "examples/color-pickers.rs" [[example]] name = "contacts" path = "examples/contacts.rs" [[example]] name = "container-shadow" path = "examples/container-shadow.rs" [[example]] name = "containers" path = "examples/containers.rs" [[example]] name = "counter" path = "examples/counter.rs" [[example]] name = "cursor-icon" path = "examples/cursor-icon.rs" [[example]] name = "custom-widgets" path = "examples/custom-widgets.rs" [[example]] name = "debug-window" path = "examples/debug-window.rs" [[example]] name = "disclose" path = "examples/disclose.rs" [[example]] name = "dynamic-fonts" path = "examples/dynamic-fonts.rs" [[example]] name = "easings" path = "examples/easings.rs" [[example]] name = "focus" path = "examples/focus.rs" [[example]] name = "focus-order" path = "examples/focus-order.rs" [[example]] name = "gameui" path = "examples/gameui.rs" [[example]] name = "image" path = "examples/image.rs" [[example]] name = "input" path = "examples/input.rs" [[example]] name = "invalidation-batch" path = "examples/invalidation-batch.rs" [[example]] name = "layers" path = "examples/layers.rs" [[example]] name = "list" path = "examples/list.rs" [[example]] name = "login" path = "examples/login.rs" [[example]] name = "manual-tabs" path = "examples/manual-tabs.rs" [[example]] name = "menu" path = "examples/menu.rs" [[example]] name = "multi-window" path = "examples/multi-window.rs" [[example]] name = "nested-scroll" path = "examples/nested-scroll.rs" [[example]] name = "offscreen" path = "examples/offscreen.rs" [[example]] name = "offscreen-apng" path = "examples/offscreen-apng.rs" [[example]] name = "overlays" path = "examples/overlays.rs" [[example]] name = "plotters" path = "examples/plotters.rs" required-features = ["plotters"] [[example]] name = "progress" path = "examples/progress.rs" [[example]] name = "radio" path = "examples/radio.rs" [[example]] name = "scroll" path = "examples/scroll.rs" [[example]] name = "select" path = "examples/select.rs" [[example]] name = "slider" path = "examples/slider.rs" [[example]] name = "stack-align-test" path = "examples/stack-align-test.rs" [[example]] name = "style" path = "examples/style.rs" [[example]] name = "switcher" path = "examples/switcher.rs" [[example]] name = "theme" path = "examples/theme.rs" [[example]] name = "tic-tac-toe" path = "examples/tic-tac-toe.rs" [[example]] name = "tilemap" path = "examples/tilemap.rs" [[example]] name = "tokio" path = "examples/tokio.rs" required-features = ["tokio"] [[example]] name = "typography" path = "examples/typography.rs" [[example]] name = "unsaved-changes" path = "examples/unsaved-changes.rs" [[example]] name = "validation" path = "examples/validation.rs" [[example]] name = "window-properties" path = "examples/window-properties.rs" [[example]] name = "window-zoom" path = "examples/window-zoom.rs" [[example]] name = "wrap" path = "examples/wrap.rs" [dependencies.ahash] version = "0.8.6" [dependencies.alot] version = "0.3" [dependencies.arboard] version = "3.2.1" [dependencies.cushy-macros] version = "0.4.0" [dependencies.easing-function] version = "0.1.0" [dependencies.figures] version = "0.4.0" [dependencies.image] version = "0.25.0" features = ["png"] [dependencies.intentional] version = "0.1.0" [dependencies.interner] version = "0.2.1" [dependencies.kempt] version = "0.2.1" [dependencies.kludgine] version = "0.10.0" features = ["app"] [dependencies.nominals] version = "0.3.0" [dependencies.palette] version = "0.7.3" [dependencies.parking_lot] version = "0.12.1" [dependencies.plotters] version = "0.3.5" optional = true default-features = false [dependencies.png] version = "0.17.10" [dependencies.pollster] version = "0.3.0" [dependencies.tokio] version = "1.37.0" features = ["rt"] optional = true [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] optional = true [dependencies.unicode-segmentation] version = "1.10.1" [dependencies.zeroize] version = "1.6.1" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.tokio] version = "1.37.0" features = ["time"] [features] default = [ "tracing-output", "roboto-flex", ] plotters = [ "dep:plotters", "kludgine/plotters", ] roboto-flex = [] tokio = ["dep:tokio"] tokio-multi-thread = [ "tokio", "tokio/rt-multi-thread", ] tracing-output = ["dep:tracing-subscriber"]