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