Add command line arguments
Replace the hard-coded addresses with clap arguments: --bind <IP> and one or more --peer <IP>. Peers must match the address family of the bind address. Also updates Cargo.lock.
This commit is contained in:
1 parent
0bb1f437ae
commit
c7a6ed16e4
3 files changed
+368
-373
No files matched your search
@@ -7,6 +7,7 @@ edition = "2021"
|
||||
atomic = "0.6.0"
|
||||
bytemuck = { version = "1.14.1", features = ["derive"] }
|
||||
byteorder = "1.5.0"
|
||||
clap = { version = "4", features = ["derive"] }
|
||||
env_logger = "0.11.1"
|
||||
futures = "0.3.30"
|
||||
itertools = "0.12.1"
|
||||
|
||||
Reference in new issue
Block a user