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