Files
wstunnel/.github
Siddhant Kameswar 3fa806dc24 Restructure and add library target (#394)
* 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
2025-01-06 13:32:54 +01:00
..
2024-06-30 11:45:29 +02:00