1 2 3 4 5 6 7 8 9 10 11
pub const INDEX_ENDPOINT: &str = "/"; pub async fn index_handler() -> &'static str { concat!( env!("CARGO_PKG_NAME"), " - ", env!("CARGO_PKG_DESCRIPTION"), "\n\n", env!("CARGO_PKG_REPOSITORY") ) }