feat: getopts -> clap

This commit is contained in:
2020-09-06 20:02:49 +08:00
parent fcb4f51a82
commit a9ba9ea94e
3 changed files with 94 additions and 47 deletions

View File

@@ -3,10 +3,11 @@ name = "simple-rust-udp-proxy"
version = "0.1.0"
authors = ["Hatter Jiang <jht5945@gmail.com>"]
edition = "2018"
description = "Very simple rust UDP proxy"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
getopts = "0.2"
rand = "0.3"
rust_util = "0.6"
clap = "2.33"