mirror of
https://github.com/erebe/wstunnel.git
synced 2026-04-23 00:37:22 +08:00
3fa806dc24
* move config (clap) structs into config.rs - copied all config structs into config.rs, along with all `use` statements - made everything `pub` - changed main.rs to import these structs * remove unused imports and move parsing tests to config.rs * cargo fmt * separate library and cli - make root package a cargo workspace - move code to start client/server tunnels into lib.rs - move rest of main.rs into wstunnel-cli bin package - move "Wstunnel" config struct into bin package - the fields here are only applicable to the CLI * cargo fmt * move clap parsing into feature * move argument parsing functions under clap feature * update wstunnel-cli binary name and build workflow * cargo fmt, fix tests * update build instructions * only use required tokio features