#![no_std]
#![deny(missing_docs, warnings)]
extern crate core;
mod version;
#[cfg(feature = "build")]
pub mod build;
#[doc(hidden)]
pub use core::env as __env;
#[doc(hidden)]
#[proc_macro_hack::proc_macro_hack]
pub use pkg_macros::authors as __authors;
#[macro_export]
macro_rules! name {
() => {
$crate::__env!("CARGO_PKG_NAME")
};
}
#[macro_export]
macro_rules! version {
() => {
$crate::__env!("CARGO_PKG_VERSION")
};
}
#[macro_export]
macro_rules! authors {
($join:literal) => {{
let authors: &'static str = $crate::__authors!($join);
authors
}};
() => {{
let authors: &'static [&'static str] = $crate::__authors!();
authors
}};
}
#[macro_export]
macro_rules! description {
() => {
$crate::__env!("CARGO_PKG_DESCRIPTION")
};
}
#[macro_export]
macro_rules! homepage {
() => {
$crate::__env!("CARGO_PKG_HOMEPAGE")
};
}
#[macro_export]
macro_rules! repository {
() => {
$crate::__env!("CARGO_PKG_REPOSITORY")
};
}