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;
|
2019-12-23 08:22:08 +00:00
|
|
|
pub mod bookmarks;
|
2019-12-23 08:24:28 +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;
|
|
|
|
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";
|