1#![doc(html_logo_url = "https://cdn.jsdelivr.net/gh/BigBoot/AutoKuma@master/icon.svg")]
2#![doc(html_favicon_url = "https://cdn.jsdelivr.net/gh/BigBoot/AutoKuma@master/icon.svg")]
3#![doc = include_str!("../README.md")]
4
5#[doc(hidden)]
6pub mod build {
7 include!(concat!(env!("OUT_DIR"), "/shadow.rs"));
8
9 pub const SHORT_VERSION: &str = const_str::format!(
10 "{}{}",
11 LAST_TAG,
12 if const_str::equal!(TAG, "") {
13 const_str::format!(
14 "-{}{}",
15 SHORT_COMMIT,
16 if !GIT_CLEAN { "-dirty" } else { "" }
17 )
18 } else {
19 ""
20 }
21 );
22 pub const LONG_VERSION: &str = const_str::format!(
23 r#"{}
24branch: {}
25commit_hash: {}
26build_time: {}
27build_env: {}, {}"#,
28 SHORT_VERSION,
29 BRANCH,
30 SHORT_COMMIT,
31 BUILD_TIME,
32 RUST_VERSION,
33 RUST_CHANNEL
34 );
35}
36
37#[cfg(feature = "private-api")]
38#[doc(hidden)]
39pub mod deserialize;
40
41#[cfg(not(feature = "private-api"))]
42#[doc(hidden)]
43pub(crate) mod deserialize;
44
45#[doc(hidden)]
46pub mod client;
47#[doc(hidden)]
48pub mod config;
49#[doc(hidden)]
50pub mod error;
51#[doc(hidden)]
52pub mod models;
53#[doc(hidden)]
54pub mod util;
55
56#[doc(inline)]
57pub use client::*;
58#[doc(inline)]
59pub use config::*;
60#[doc(inline)]
61pub use models::*;
62pub use url::Url;