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
19#![doc(html_logo_url = "https://relm4.org/icons/relm4_logo.svg")]
20#![doc(html_favicon_url = "https://relm4.org/icons/relm4_org.svg")]
21#![warn(
22 missing_debug_implementations,
23 missing_docs,
24 rust_2018_idioms,
25 unreachable_pub,
26 unused_qualifications,
27 clippy::cargo,
28 clippy::must_use_candidate
29)]
30#![allow(clippy::multiple_crate_versions)]
31// Configuration for doc builds on the nightly toolchain.
32#![cfg_attr(docsrs, feature(doc_cfg))]
33// Ignore GTK 4.10 deprecations.
34// Most deprecated features can only be replaced with new 4.10 APIs and
35// we don't want to lift the minimum requirement GTK4 version for Relm4 yet.
36#![allow(deprecated)]
37
38pub mod alert;
39pub mod open_button;
40pub mod open_dialog;
41pub mod save_dialog;
42#[cfg(feature = "libadwaita")]
43pub mod simple_adw_combo_row;
44pub mod simple_combo_box;
45
46#[cfg(feature = "web")]
47#[cfg_attr(docsrs, doc(cfg(feature = "web")))]
48pub mod web_image;