diff options
| author | Fuwn <[email protected]> | 2021-06-08 03:26:06 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-06-08 03:26:06 +0000 |
| commit | f2ad4f51575defc983255bc45ee8446692f92cd3 (patch) | |
| tree | 938572ac0b85bd0e1c6bb47661336c011e823867 /crates/whirl_server/src | |
| parent | feat(whirl_server): conditional sub-server spawning (diff) | |
| download | whirl-f2ad4f51575defc983255bc45ee8446692f92cd3.tar.xz whirl-f2ad4f51575defc983255bc45ee8446692f92cd3.zip | |
feat(whirl): conditional sub-server spawning via cli
Diffstat (limited to 'crates/whirl_server/src')
| -rw-r--r-- | crates/whirl_server/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/whirl_server/src/lib.rs b/crates/whirl_server/src/lib.rs index 77a2cee..56995f5 100644 --- a/crates/whirl_server/src/lib.rs +++ b/crates/whirl_server/src/lib.rs @@ -147,5 +147,8 @@ pub mod make { /// - A panic may occur if the TCP server is unable to bind the specified /// port. #[must_use] + #[deprecated( + note = "The `distributor` and `hub` functions are more extensible, use them instead." + )] pub fn all() -> Vec<JoinHandle<()>> { vec![distributor(), hub()] } } |