2
0
mirror of https://github.com/xvxx/phetch synced 2024-11-15 00:12:50 +00:00
phetch/src/lib.rs

27 lines
643 B
Rust
Raw Normal View History

2019-12-22 20:41:45 +00:00
#![allow(unused_must_use)]
#[macro_use]
2019-12-23 19:57:40 +00:00
pub mod utils;
2020-01-11 00:28:17 +00:00
#[macro_use]
2020-01-10 23:59:04 +00:00
pub mod color;
2020-01-11 00:28:17 +00:00
pub mod bookmarks;
2020-01-09 23:46:55 +00:00
pub mod config;
2019-12-23 19:57:40 +00:00
pub mod gopher;
2019-12-22 20:41:45 +00:00
pub mod help;
pub mod history;
pub mod menu;
2020-01-09 23:10:45 +00:00
pub mod phetchdir;
2019-12-22 20:41:45 +00:00
pub mod text;
pub mod ui;
2019-12-24 08:29:20 +00:00
2019-12-25 01:22:12 +00:00
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
2020-01-04 22:10:51 +00:00
pub const PLATFORM: &str = env!("PLATFORM");
2020-01-06 18:18:27 +00:00
pub const GIT_REF: &str = env!("GIT_REF");
pub const BUILD_DATE: &str = env!("BUILD_DATE");
2020-01-04 18:15:51 +00:00
pub const BUG_URL: &str = "https://github.com/dvkt/phetch/issues/new";
2020-01-06 18:18:27 +00:00
2020-01-06 18:26:58 +00:00
#[cfg(not(feature = "disable-tls"))]
2020-01-06 18:18:27 +00:00
pub const TLS_SUPPORT: &str = "enabled";
2020-01-06 18:26:58 +00:00
#[cfg(feature = "disable-tls")]
2020-01-06 18:18:27 +00:00
pub const TLS_SUPPORT: &str = "not enabled";