relm4_components/lib.rs
1//! Collection of reusable and easily configurable components for Relm4.
2//!
3//! Docs of related crates:
4//! [relm4](https://docs.rs/relm4)
5//! | [relm4-macros](https://docs.rs/relm4_macros)
6//! | [relm4-components](https://docs.rs/relm4_components)
7//! | [relm4-css](https://docs.rs/relm4-css)
8//! | [gtk4-rs](https://gtk-rs.org/gtk4-rs/git/docs)
9//! | [gtk-rs-core](https://gtk-rs.org/gtk-rs-core/git/docs)
10//! | [libadwaita-rs](https://world.pages.gitlab.gnome.org/Rust/libadwaita-rs/git/docs/libadwaita)
11//! | [libpanel-rs](https://world.pages.gitlab.gnome.org/Rust/libpanel-rs/git/docs/libpanel)
12//!
13//! [GitHub](https://github.com/Relm4/Relm4)
14//! | [Website](https://relm4.org)
15//! | [Book](https://relm4.org/book/stable/)
16//! | [Blog](https://relm4.org/blog)
17
18#![doc(html_logo_url = "https://relm4.org/icons/relm4_logo.svg")]
19#![doc(html_favicon_url = "https://relm4.org/icons/relm4_org.svg")]
20#![warn(
21 missing_debug_implementations,
22 missing_docs,
23 rust_2018_idioms,
24 unreachable_pub,
25 unused_qualifications,
26 clippy::cargo,
27 clippy::must_use_candidate
28)]
29#![allow(clippy::multiple_crate_versions)]
30// Configuration for doc builds on the nightly toolchain.
31#![cfg_attr(docsrs, feature(doc_cfg))]
32// Ignore GTK 4.10 deprecations.
33// Most deprecated features can only be replaced with new 4.10 APIs and
34// we don't want to lift the minimum requirement GTK4 version for Relm4 yet.
35#![allow(deprecated)]
36
37pub mod alert;
38pub mod open_button;
39pub mod open_dialog;
40pub mod save_dialog;
41#[cfg(feature = "libadwaita")]
42pub mod simple_adw_combo_row;
43pub mod simple_combo_box;
44
45#[cfg(feature = "web")]
46#[cfg_attr(docsrs, doc(cfg(feature = "web")))]
47pub mod web_image;