Use random ports when port number is 0 (#79)

* Use random ports when port number is 0

* Add support for --max-port CLI option

* Fix typo

* Fix another typo

* Update README
This commit is contained in:
Eric Zhang
2023-04-27 21:48:47 -04:00
committed by GitHub
parent 931f2aa20b
commit 0860c6e018
8 changed files with 99 additions and 39 deletions

View File

@@ -19,6 +19,7 @@ path = "src/main.rs"
anyhow = { version = "1.0.56", features = ["backtrace"] }
clap = { version = "4.0.22", features = ["derive", "env"] }
dashmap = "5.2.0"
fastrand = "1.9.0"
futures-util = { version = "0.3.21", features = ["sink"] }
hex = "0.4.3"
hmac = "0.12.1"