aboutsummaryrefslogtreecommitdiff
path: root/src/ext/mod.rs
blob: 312074b7b457f8a2a61d6955087a14085b4a652f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//! The set of extensions is functionality that is not required for a
//! [`Client`] and/or [`Connection`] to properly function.
//!
//! These are flagged behind feature-gates and can be enabled and disabled.
//!
//! 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")]
pub mod voice;