url_bot_rs/
lib.rs

1use lazy_static::lazy_static;
2
3pub mod sqlite;
4pub mod http;
5pub mod title;
6pub mod config;
7pub mod message;
8pub mod tld;
9pub mod plugins;
10pub mod buildinfo {
11   include!(concat!(env!("OUT_DIR"), "/built.rs"));
12}
13
14lazy_static! {
15    pub static ref VERSION: String = format!(
16        "v{}{} (build: {})",
17        buildinfo::PKG_VERSION,
18        buildinfo::GIT_VERSION
19            .map_or_else(|| String::from(""), |v| format!(" (git {})", v)),
20        buildinfo::PROFILE
21    );
22}