Skip to main content

object_storage_proxy/utils/
banner.rs

1/// Print the startup banner to stderr (bypasses the tracing formatter for clean output).
2///
3/// The version string is embedded at compile time from `CARGO_PKG_VERSION` and
4/// therefore always stays in sync with `Cargo.toml`.
5pub fn print_banner() {
6    let version = env!("CARGO_PKG_VERSION");
7    println!(
8        r#"                                            
9                                                            
1011       ▒█   ░████░    ▒█████░  ██░███▒       ▒█    █▒       
12    ░████  ░██████░  ████████  ███████▒     █▓     ████░    
13  ▒████▒   ███  ███  ██▒  ░▒█  ███  ███   ▒█▓       ▒████▒  
14 ███▒░     ██░  ░██  █████▓░   ██░  ░██   ▓███▓░      ░▒███ 
15 ███▒      ██    ██  ░██████▒  ██    ██      ██▒       ▒███ 
16  ▒████▒   ██░  ░██     ░▒▓██  ██░  ░██     ▒█░     ▒████▒  
17    ▒████  ███  ███  █▒░  ▒██  ███  ███    ▓▓      ████▒    
18       ▒█  ░██████░  ████████  ███████▒   ▒▒       █▒       
19            ░████░   ░▓████▓   ██░███▒   ▒                  
20                               ██                           
21                               ██                           
22                               ██                           
23                                                            
24  <osp⚡>  Object Storage Proxy  v{}
25  󱃖 https://osp.flexworks.eu/
26  󰂿 https://osp-docs.flexworks.eu/
27  󰊤 https://github.com/opensourceworks-org/object-storage-proxy
28
29"#,
30        version
31    );
32}