diff --git a/Cargo.toml b/Cargo.toml index 70f5b22..901b920 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,3 +33,9 @@ clap = { version = "3.2.19", features = ["derive"] } [target.'cfg(target_os = "linux")'.dependencies] libc = "0.2" + +[profile.release] +strip = true +lto = true +panic = "abort" + diff --git a/src/port_to_vsock_transparent.rs b/src/port_to_vsock_transparent.rs index f12e13a..4973238 100644 --- a/src/port_to_vsock_transparent.rs +++ b/src/port_to_vsock_transparent.rs @@ -48,7 +48,7 @@ struct Cli { /// ip address of the proxy to be set up #[clap(short, long, value_parser)] ip_addr: String, - /// vsock address of the listener + /// vsock address of the listener #[clap(short, long, value_parser)] vsock: u32, }