Skip to content

Commit

Permalink
refactor: use env vars from cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
karnpapon committed Apr 6, 2024
1 parent a1c14c8 commit 559a8ac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oscd"
version = "0.1.5"
version = "0.1.6"
edition = "2021"
authors = ["karnpapon <[email protected]>"]
license = "MIT"
Expand Down
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ pub const DEFAULT_PORT: u16 = 57110;

fn main() {
let _app = clap_app!(oscd =>
(version: "0.1.5")
(author: "Karnpapon Boonput <[email protected]>")
(about: "a simple interactive OSC debugger")
(version: env!("CARGO_PKG_VERSION"))
(author: env!("CARGO_PKG_AUTHORS"))
(about: env!("CARGO_PKG_DESCRIPTION"))
)
.get_matches();

Expand Down

0 comments on commit 559a8ac

Please sign in to comment.