Skip to content

Commit

Permalink
Remove deprecated absolute_ratelimits feature (#2719)
Browse files Browse the repository at this point in the history
  • Loading branch information
GnomedDev committed Mar 11, 2024
1 parent c198141 commit a442dbd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,6 @@ typesize = ["dep:typesize", "small-fixed-array/typesize", "bool_to_bitflags/type
# Enables compile-time heavy instrument macros from tracing
tracing_instrument = ["tracing/attributes"]

# Removed feature (https://github.com/serenity-rs/serenity/pull/2246)
absolute_ratelimits = []

# Backends to pick from:
# - Rustls Backends
rustls_backend = [
Expand Down
7 changes: 0 additions & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,6 @@ pub use static_assertions;
pub use crate::client::Client;
pub use crate::error::{Error, Result};

#[cfg(feature = "absolute_ratelimits")]
compile_error!(
"The absolute_ratelimits feature has been removed.\n\
Configure absolute ratelimits via Ratelimiter::set_absolute_ratelimits.\n\
You can set the Ratelimiter of Http via HttpBuilder::ratelimiter."
);

/// Special module that re-exports most public items from this crate.
///
/// Useful, because you don't have to remember the full paths of serenity items.
Expand Down

0 comments on commit a442dbd

Please sign in to comment.