use const_str::{chain, join, split};
pub static GENERATOR: &str = concat!("maud ", include_str!(concat!(env!("OUT_DIR"), "/maud.txt")));
pub static REPO_URL: &str = env!("CARGO_PKG_REPOSITORY");
pub static REPO_ISSUES_URL: &str = concat!(env!("CARGO_PKG_REPOSITORY"), "/issues");
pub static PKG_NAME: &str = env!("CARGO_PKG_NAME");
static AUTHORS: &[&str] = &chain! {
env!("CARGO_PKG_AUTHORS"),
split!(_, ':'),
};
pub static PKG_AUTHORS: &str = join!(AUTHORS, ", ");
pub static VERSION: &str = env!("CARGO_PKG_VERSION");
pub static USER_AGENT: &str = const_str::concat!(PKG_NAME, "/", VERSION);
pub static COPYRIGHT_YEAR: &str = "2025";
static COPYRIGHT_NOTICE: &str = const_str::concat!(
PKG_NAME,
" Copyright (C) ",
COPYRIGHT_YEAR,
" ",
PKG_AUTHORS,
"
This program comes with ABSOLUTELY NO WARRANTY. This is
free software, and you are welcome to redistribute it
under certain conditions; see <https://www.gnu.org/licenses/#GPL>
for details."
);
pub static WEB_COPYRIGHT_NOTICE: maud::PreEscaped<&'static str> =
maud::PreEscaped(const_str::concat!("\n<!--\n", COPYRIGHT_NOTICE, "\n-->\n"));