aboutsummaryrefslogtreecommitdiff
path: root/src/ext/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/mod.rs')
-rw-r--r--src/ext/mod.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/ext/mod.rs b/src/ext/mod.rs
index bb87911..312074b 100644
--- a/src/ext/mod.rs
+++ b/src/ext/mod.rs
@@ -5,10 +5,17 @@
//!
//! See each extension's module-level documentation for more information.
//!
+//! Note that the framework module requires the `framework` feature to be
+//! enabled (enabled by default), the state requires the `state` feature to be
+//! enabled (enabled by default), and voice support requires the `voice` feature
+//! to be enabled (disabled by default).
+//!
//! [`Client`]: ../client/struct.Client.html
//! [`Connection`]: ../client/struct.Connection.html
+#[cfg(feature = "framework")]
pub mod framework;
+#[cfg(feature = "state")]
pub mod state;
-#[cfg(feature="voice")]
+#[cfg(feature = "voice")]
pub mod voice;