Parent
[>]
1 2 3 4 5 6 7use OnceLock; 8 9use Parser; 10use TcpListener; 11 12use crateResult; 13use crate; 14 15/// Package name, sourced from `Cargo.toml` at compile time. 16pub const PKG_NAME: &str = env!; 17 18/// Package version, sourced from `Cargo.toml` at compile time. 19pub const PKG_VERSION: &str = env!; 20 21/// Hostname used in breadcrumbs and clone URLs, set once from `--hostname`. 22static HOSTNAME: = new; 23 24/// SSH clone URL path prefix, set once from `--ssh-prefix`. 25static SSH_PREFIX: = new; 26 27/// Returns the configured hostname, or `"index"` if none was provided. 28 31 32/// Returns the configured SSH prefix, or an empty string if none was provided. 33 36 37 38async