# 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 = "nuit" version = "0.2.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Declarative, cross-platform UI framework for Rust that uses native controls" homepage = "https://github.com/fwcd/nuit" readme = "README.md" license = "MPL-2.0" [lib] name = "nuit" path = "src/lib.rs" [[example]] name = "adwaita" path = "examples/adwaita.rs" [[example]] name = "animations" path = "examples/animations.rs" [[example]] name = "counter" path = "examples/counter.rs" [[example]] name = "enter_name" path = "examples/enter_name.rs" [[example]] name = "fizz_buzz" path = "examples/fizz_buzz.rs" [[example]] name = "fonts" path = "examples/fonts.rs" [[example]] name = "gestures" path = "examples/gestures.rs" required-features = ["rand"] [[example]] name = "hello" path = "examples/hello.rs" [[example]] name = "list" path = "examples/list.rs" [[example]] name = "loops" path = "examples/loops.rs" [[example]] name = "nested" path = "examples/nested.rs" [[example]] name = "picker" path = "examples/picker.rs" [[example]] name = "pie_chart" path = "examples/pie_chart.rs" [[example]] name = "rainbow" path = "examples/rainbow.rs" [[example]] name = "scale_rotate" path = "examples/scale_rotate.rs" [[example]] name = "shapes" path = "examples/shapes.rs" [dependencies.nuit-bridge-adwaita] version = "0.2.0" optional = true [dependencies.nuit-bridge-swiftui] version = "0.2.0" optional = true [dependencies.nuit-core] version = "0.2.0" [dependencies.nuit-derive] version = "0.2.0" [features] adwaita = ["dep:nuit-bridge-adwaita"] default = [ "adwaita", "swiftui", ] rand = ["nuit-core/rand"] swiftui = ["dep:nuit-bridge-swiftui"]