libgweather/
lib.rs

1// Take a look at the license at the top of the repository in the LICENSE file.
2
3#![cfg_attr(docsrs, feature(doc_cfg))]
4#![allow(clippy::needless_doctest_main)]
5#![doc(
6    html_logo_url = "https://gitlab.gnome.org/GNOME/libgweather/-/raw/main/doc/libgweather-logo.svg",
7    html_favicon_url = "https://gitlab.gnome.org/GNOME/libgweather/-/raw/main/doc/libgweather-logo.svg"
8)]
9//! # Rust GWeather bindings
10//!
11//! This library contains safe Rust bindings for [GWeather](https://gitlab.gnome.org/GNOME/libgweather/), a library that offers
12//! weather data collection
13//!
14//! See also
15//!
16//! - [GWeather documentation](https://gnome.pages.gitlab.gnome.org/libgweather/)
17//! - [gtk-rs project overview](https://gtk-rs.org/)
18//!
19
20macro_rules! skip_assert_initialized {
21    () => {};
22}
23
24macro_rules! assert_initialized_main_thread {
25    () => {};
26}
27
28pub use ffi;
29pub use gio;
30pub use glib;
31
32#[allow(unused_imports)]
33#[allow(clippy::let_and_return)]
34#[allow(clippy::type_complexity)]
35mod auto;
36
37mod conditions;
38mod info;
39mod location;
40
41pub use auto::*;
42pub use conditions::Conditions;
43
44pub mod builders {
45    pub use super::auto::builders::*;
46}