serenity 0.11.7

A Rust library for the Discord API.
Documentation
#[cfg(all(
    any(feature = "http", feature = "gateway"),
    not(any(feature = "rustls_backend", feature = "native_tls_backend"))
))]
compile_error!(
    "You have the `http` or `gateway` feature enabled, \
    either the `rustls_backend` or `native_tls_backend` feature must be
    selected to let Serenity use `http` or `gateway`.\n\
    - `rustls_backend` uses Rustls, a pure Rust TLS-implemenation.\n\
    - `native_tls_backend` uses SChannel on Windows, Secure Transport on macOS, \
    and OpenSSL on other platforms.\n\
    If you are unsure, go with `rustls_backend`."
);

#[cfg_attr(
    feature = "simdjson",
    deprecated = "The `simdjson` feature name is deprecated and will be removed in the next version of serenity, use `simd_json`."
)]
fn deprecated_simd_json_feature() {}

#[cfg_attr(
    feature = "voice-model",
    deprecated = "The `voice-model` feature name is deprecated and will be removed in the next version of serenity, use `voice_model`."
)]
fn deprecated_voice_model_feature() {}

fn main() {
    deprecated_simd_json_feature();
    deprecated_voice_model_feature()
}