From 59e194f508f5991d32e7eb56b31c84a12eb9537b Mon Sep 17 00:00:00 2001 From: Alexandru Vasile Date: Wed, 14 Aug 2024 14:08:47 +0300 Subject: [PATCH] cargo: Enable all features by default Signed-off-by: Alexandru Vasile --- Cargo.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index ceb56ce2..dc5ed94a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -86,11 +86,19 @@ tracing-subscriber = { version = "0.3.16", features = ["env-filter"] } futures_ringbuf = "0.4.0" [features] -custom_sc_network = [] +# Enable all transports by default. +default = ["websocket", "quic", "webrtc"] + +# Enable QUIC support. quic = ["dep:webpki", "dep:quinn"] +# Enable WebRTC support. webrtc = ["dep:str0m"] +# Enable WebSocket support. websocket = ["dep:tokio-tungstenite"] +# Testing feature. +custom_sc_network = [] + [profile.release] debug = true