chore: move unused imports into cfg
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
91ad8eda01
commit
1f0f526e38
@ -1,5 +1,3 @@
|
||||
use std::net::SocketAddr;
|
||||
|
||||
use clap::{Parser, Subcommand, ValueEnum};
|
||||
use hyperlog_tui::{
|
||||
commander,
|
||||
@ -36,11 +34,11 @@ enum Commands {
|
||||
#[cfg(feature = "include_server")]
|
||||
Serve {
|
||||
#[arg(env = "EXTERNAL_HOST", long, default_value = "127.0.0.1:3000")]
|
||||
external_host: SocketAddr,
|
||||
external_host: std::net::SocketAddr,
|
||||
#[arg(env = "INTERNAL_HOST", long, default_value = "127.0.0.1:3001")]
|
||||
internal_host: SocketAddr,
|
||||
internal_host: std::net::SocketAddr,
|
||||
#[arg(env = "EXTERNAL_GRPC_HOST", long, default_value = "127.0.0.1:4000")]
|
||||
external_grpc_host: SocketAddr,
|
||||
external_grpc_host: std::net::SocketAddr,
|
||||
},
|
||||
Exec {
|
||||
#[command(subcommand)]
|
||||
|
Loading…
Reference in New Issue
Block a user