aboutsummaryrefslogtreecommitdiff
path: root/src/ext/mod.rs
blob: 9605466f2820891e8c3580da48fc9320d5a79dd3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//! A set of extended functionality that is not required for a [`Client`] and/or
//! [`Shard`] 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 cache requires the `cache` 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
//! [`Shard`]: ../client/gateway/struct.Shard.html

#[cfg(feature = "cache")]
pub mod cache;
#[cfg(feature = "framework")]
pub mod framework;
#[cfg(feature = "voice")]
pub mod voice;