# 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.75" name = "relm4" version = "0.9.1" authors = ["Aaron Erhardt "] build = false include = [ "src/", "examples/", "benches/", "tests/", "README.md", "LICENSE-MIT", "LICENSE-APACHE", ] autobins = false autoexamples = false autotests = false autobenches = false description = "An idiomatic GUI library inspired by Elm and based on gtk4-rs" homepage = "https://relm4.org" documentation = "https://docs.rs/relm4/" readme = "README.md" keywords = [ "gui", "gtk", "gtk4", "elm", ] categories = ["gui"] license = "Apache-2.0 OR MIT" repository = "https://github.com/Relm4/Relm4" [package.metadata.docs.rs] all-features = true cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", ] rustc-args = [ "--cfg", "docsrs", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "relm4" path = "src/lib.rs" [[example]] name = "actions" path = "examples/actions.rs" [[example]] name = "components" path = "examples/components.rs" [[example]] name = "data_binding" path = "examples/data_binding.rs" [[example]] name = "drag_and_drop" path = "examples/drag_and_drop.rs" [[example]] name = "drawing" path = "examples/drawing.rs" [[example]] name = "drop_sub_components" path = "examples/drop_sub_components.rs" [[example]] name = "embedded_logo" path = "examples/embedded_logo.rs" [[example]] name = "entry" path = "examples/entry.rs" [[example]] name = "factory" path = "examples/factory.rs" [[example]] name = "factory_async" path = "examples/factory_async.rs" [[example]] name = "factory_hash_map" path = "examples/factory_hash_map.rs" [[example]] name = "grid_factory" path = "examples/grid_factory.rs" [[example]] name = "icons" path = "examples/icons.rs" [[example]] name = "leaflet_sidebar" path = "examples/leaflet_sidebar.rs" required-features = ["libadwaita"] [[example]] name = "log" path = "examples/log.rs" [[example]] name = "macro_reference" path = "examples/macro_reference.rs" [[example]] name = "menu" path = "examples/menu.rs" [[example]] name = "message_broker" path = "examples/message_broker.rs" [[example]] name = "message_stream" path = "examples/message_stream.rs" [[example]] name = "multi_window" path = "examples/multi_window.rs" [[example]] name = "non_blocking_async" path = "examples/non_blocking_async.rs" [[example]] name = "non_blocking_sync" path = "examples/non_blocking_sync.rs" [[example]] name = "popover" path = "examples/popover.rs" [[example]] name = "progress" path = "examples/progress.rs" [[example]] name = "settings_list" path = "examples/settings_list.rs" [[example]] name = "simple" path = "examples/simple.rs" doc-scrape-examples = true [[example]] name = "simple_async" path = "examples/simple_async.rs" [[example]] name = "simple_manual" path = "examples/simple_manual.rs" [[example]] name = "state_management" path = "examples/state_management.rs" [[example]] name = "tab_factory" path = "examples/tab_factory.rs" required-features = ["libadwaita"] [[example]] name = "tab_game" path = "examples/tab_game.rs" required-features = ["libadwaita"] [[example]] name = "to_do" path = "examples/to_do.rs" [[example]] name = "toast" path = "examples/toast.rs" required-features = [ "libadwaita", "gnome_43", ] [[example]] name = "tracker" path = "examples/tracker.rs" [[example]] name = "transient_dialog" path = "examples/transient_dialog.rs" [[example]] name = "typed_column_view" path = "examples/typed_column_view.rs" [[example]] name = "typed_grid_view" path = "examples/typed_grid_view.rs" [[example]] name = "typed_list_view" path = "examples/typed_list_view.rs" [[example]] name = "typed_list_view_async" path = "examples/typed_list_view_async.rs" [[example]] name = "widget_template" path = "examples/widget_template.rs" [[example]] name = "worker" path = "examples/worker.rs" [[test]] name = "drop_after_quit" path = "tests/drop_after_quit.rs" [[test]] name = "shutdown_after_quit" path = "tests/shutdown_after_quit.rs" [[bench]] name = "stress_test" path = "benches/stress_test.rs" harness = false [dependencies.adw] version = "0.7" optional = true package = "libadwaita" [dependencies.flume] version = "0.11.0" [dependencies.fragile] version = "2.0.0" [dependencies.futures] version = "0.3.30" [dependencies.gtk] version = "0.9" package = "gtk4" [dependencies.once_cell] version = "1.19" [dependencies.panel] version = "0.5" optional = true package = "libpanel" [dependencies.relm4-css] version = "0.9.0" optional = true [dependencies.relm4-macros] version = "0.9.0" optional = true [dependencies.tokio] version = "1.38" features = [ "rt", "rt-multi-thread", "sync", ] [dependencies.tracing] version = "0.1.40" [dev-dependencies.criterion] version = "0.5" default-features = false [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.relm4-icons] version = "0.9.0" [dev-dependencies.reqwest] version = "0.12.5" [dev-dependencies.serde] version = "1" features = [ "derive", "default", ] [dev-dependencies.serde_json] version = "1" [dev-dependencies.tokio] version = "1.38" features = [ "rt", "macros", "time", "rt-multi-thread", ] [dev-dependencies.tracing-subscriber] version = "0.3.18" [dev-dependencies.tracker] version = "0.2" [features] all = [ "macros", "libadwaita", "panel", "panel/v1_4", ] css = ["relm4-css"] default = [ "css", "macros", "gnome_42", ] gnome_42 = ["gtk/gnome_42"] gnome_43 = [ "gnome_42", "gtk/gnome_43", "adw/v1_2", ] gnome_44 = [ "gnome_43", "gtk/gnome_44", "adw/v1_3", ] gnome_45 = [ "gnome_44", "gtk/gnome_45", "adw/v1_4", ] gnome_46 = [ "gnome_45", "gtk/gnome_46", "adw/v1_5", ] gnome_47 = [ "gnome_46", "gtk/gnome_47", "adw/v1_6", ] libadwaita = ["adw"] libpanel = ["panel"] macros = ["relm4-macros"]