aboutsummaryrefslogtreecommitdiff
path: root/crates/whirl_server/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-06-08 03:26:06 +0000
committerFuwn <[email protected]>2021-06-08 03:26:06 +0000
commitf2ad4f51575defc983255bc45ee8446692f92cd3 (patch)
tree938572ac0b85bd0e1c6bb47661336c011e823867 /crates/whirl_server/src
parentfeat(whirl_server): conditional sub-server spawning (diff)
downloadwhirl-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.rs3
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()] }
}