diff --git a/hunter/src/main.rs b/hunter/src/main.rs index c66e459..0e42578 100644 --- a/hunter/src/main.rs +++ b/hunter/src/main.rs @@ -78,11 +78,9 @@ async fn run() { .timeout(Duration::from_secs(30)) .tcp_keepalive(Duration::from_secs(300)) .pool_max_idle_per_host(0) - .user_agent(concat!( - env!("CARGO_PKG_NAME"), - "/", - env!("CARGO_PKG_VERSION"), - )) + .user_agent( + format!("{}/{} (+https://fedi.buzz/)", env!("CARGO_PKG_NAME"), env!("CARGO_PKG_VERSION")) + ) .deflate(true) .gzip(true) .trust_dns(true)