[feat] use clap to pass IP and port

This commit is contained in:
2024-11-08 22:38:11 +01:00
parent 9d8f579a0f
commit 9f63ace39c
8 changed files with 180 additions and 30 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
export RUST_LOG=info,lanspread_server=debug,lanspread_proto=debug
exec cargo run -p lanspread-server
exec cargo run -p lanspread-server -- "$@"
#RUST_LOG=info exec cargo run --profile release-lto -p lanspread-server