diff --git a/src/lib.rs b/src/lib.rs index e63c41d..f3bc937 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -28,7 +28,9 @@ pub mod instance; pub mod ratelimiter; pub mod types; #[cfg(feature = "client")] -pub mod voice; +pub mod voice_gateway; +#[cfg(feature = "client")] +pub mod voice_udp; #[derive(Clone, Default, Debug, PartialEq, Eq, Hash)] /// A URLBundle bundles together the API-, Gateway- and CDN-URLs of a Spacebar instance. diff --git a/src/voice.rs b/src/voice_gateway.rs similarity index 100% rename from src/voice.rs rename to src/voice_gateway.rs diff --git a/src/voice_udp.rs b/src/voice_udp.rs new file mode 100644 index 0000000..ec1b08a --- /dev/null +++ b/src/voice_udp.rs @@ -0,0 +1 @@ +/// Defines voice raw udp socket handling