Skip to content

Commit 908791a

Browse files
committed
fix version flag
Signed-off-by: Tuan Anh Tran <[email protected]>
1 parent dbaa8c9 commit 908791a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hyper-mcp"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
edition = "2024"
55
authors = ["Tuan Anh Tran <[email protected]>"]
66
description = " A fast, secure MCP server that extends its capabilities through WebAssembly plugins"

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub const SERVER_VERSION: &str = "0.1.0";
1616
pub const DEFAULT_BIND_ADDRESS: &str = "127.0.0.1:3001";
1717

1818
#[derive(Parser, Clone)]
19-
#[command(author = "Tuan Anh Tran <[email protected]>", version, about, long_about = None)]
19+
#[command(author = "Tuan Anh Tran <[email protected]>", version = env!("CARGO_PKG_VERSION"), about, long_about = None)]
2020
struct Cli {
2121
#[arg(short, long, value_name = "FILE")]
2222
config_file: Option<PathBuf>,

0 commit comments

Comments
 (0)