From 4e3d84cfedd2243130844b95e2fe563f0a4f957e Mon Sep 17 00:00:00 2001 From: Erdem MEYDANLI Date: Mon, 3 Jun 2024 09:02:14 +0000 Subject: [PATCH] vsock-proxy: Bump version to 1.0.1 Signed-off-by: Erdem MEYDANLI --- Cargo.lock | 2 +- vsock_proxy/Cargo.toml | 2 +- vsock_proxy/src/main.rs | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6ddd4776..f60a6f67 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2149,7 +2149,7 @@ dependencies = [ [[package]] name = "vsock-proxy" -version = "1.0.0" +version = "1.0.1" dependencies = [ "chrono", "clap", diff --git a/vsock_proxy/Cargo.toml b/vsock_proxy/Cargo.toml index 4b4018dd..c27c3e77 100644 --- a/vsock_proxy/Cargo.toml +++ b/vsock_proxy/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vsock-proxy" -version = "1.0.0" +version = "1.0.1" authors = ["The AWS Nitro Enclaves Team "] edition = "2018" rust-version = "1.68" diff --git a/vsock_proxy/src/main.rs b/vsock_proxy/src/main.rs index 142465ed..691c6bfc 100644 --- a/vsock_proxy/src/main.rs +++ b/vsock_proxy/src/main.rs @@ -1,4 +1,4 @@ -// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 #![deny(warnings)] @@ -6,7 +6,7 @@ /// Example of usage: /// vsock-proxy 8000 127.0.0.1 9000 /// -use clap::{App, AppSettings, Arg}; +use clap::{App, Arg}; use env_logger::init; use log::info; @@ -20,7 +20,7 @@ fn main() -> VsockProxyResult<()> { let matches = App::new("Vsock-TCP proxy") .about("Vsock-TCP proxy") - .setting(AppSettings::DisableVersion) + .version(env!("CARGO_PKG_VERSION")) .arg( Arg::with_name("ipv4") .short('4')