# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.74" name = "serenity" version = "0.12.2" authors = ["Alex M. M. "] build = "build.rs" include = [ "src/**/*", "LICENSE.md", "README.md", "CHANGELOG.md", "build.rs", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A Rust library for the Discord API." homepage = "https://github.com/serenity-rs/serenity" documentation = "https://docs.rs/serenity" readme = "README.md" keywords = [ "discord", "api", ] license = "ISC" repository = "https://github.com/serenity-rs/serenity.git" [package.metadata.docs.rs] features = ["full"] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "serenity" path = "src/lib.rs" [dependencies.arrayvec] version = "0.7.4" features = ["serde"] [dependencies.async-trait] version = "0.1.74" [dependencies.base64] version = "0.22.0" [dependencies.bitflags] version = "2.4.2" [dependencies.bytes] version = "1.5.0" optional = true [dependencies.chrono] version = "0.4.31" features = [ "clock", "serde", ] optional = true default-features = false [dependencies.command_attr] version = "0.5.2" optional = true [dependencies.dashmap] version = "5.5.3" features = ["serde"] optional = true [dependencies.dep_time] version = "0.3.30" features = [ "formatting", "parsing", "serde-well-known", ] package = "time" [dependencies.ed25519-dalek] version = "2.0.0" optional = true [dependencies.flate2] version = "1.0.28" optional = true [dependencies.futures] version = "0.3.29" features = ["std"] default-features = false [dependencies.fxhash] version = "0.2.1" optional = true [dependencies.levenshtein] version = "1.0.5" optional = true [dependencies.mime_guess] version = "2.0.4" optional = true [dependencies.mini-moka] version = "0.10.2" optional = true [dependencies.parking_lot] version = "0.12.1" optional = true [dependencies.percent-encoding] version = "2.3.0" optional = true [dependencies.reqwest] version = "0.11.22" features = [ "multipart", "stream", ] optional = true default-features = false [dependencies.secrecy] version = "0.8.0" features = ["serde"] [dependencies.serde] version = "1.0.192" features = ["derive"] [dependencies.serde_cow] version = "0.1.0" [dependencies.serde_json] version = "1.0.108" [dependencies.serenity-voice-model] version = "0.2.0" optional = true [dependencies.simd-json] version = "0.13.4" optional = true [dependencies.static_assertions] version = "1.1.0" optional = true [dependencies.tokio] version = "1.34.0" features = [ "fs", "macros", "rt", "sync", "time", "io-util", ] [dependencies.tokio-tungstenite] version = "0.21.0" optional = true [dependencies.tracing] version = "0.1.40" features = ["log"] [dependencies.typemap_rev] version = "0.3.0" optional = true [dependencies.typesize] version = "0.1.2" features = [ "url", "time", "serde_json", "secrecy", "dashmap", "parking_lot", "details", ] optional = true [dependencies.url] version = "2.4.1" features = ["serde"] [dependencies.uwl] version = "0.6.0" optional = true [dev-dependencies.http_crate] version = "0.2.11" package = "http" [features] absolute_ratelimits = [] builder = [] cache = [ "fxhash", "dashmap", "parking_lot", ] chrono = [ "dep:chrono", "typesize?/chrono", ] client = [ "http", "typemap_rev", ] collector = [ "gateway", "model", ] default = [ "default_no_backend", "rustls_backend", ] default_native_tls = [ "default_no_backend", "native_tls_backend", ] default_no_backend = [ "builder", "cache", "chrono", "client", "framework", "gateway", "model", "http", "standard_framework", "utils", ] framework = [ "client", "model", "utils", ] full = [ "default", "collector", "unstable_discord_api", "voice", "voice_model", "interactions_endpoint", ] gateway = ["flate2"] http = [ "mime_guess", "percent-encoding", ] interactions_endpoint = ["ed25519-dalek"] model = [ "builder", "http", "utils", ] native_tls_backend = [ "reqwest/native-tls", "tokio-tungstenite/native-tls", "bytes", ] rustls_backend = [ "reqwest/rustls-tls", "tokio-tungstenite/rustls-tls-webpki-roots", "bytes", ] simd_json = [ "simd-json", "typesize?/simd_json", ] standard_framework = [ "framework", "uwl", "levenshtein", "command_attr", "static_assertions", "parking_lot", ] temp_cache = [ "cache", "mini-moka", "typesize?/mini_moka", ] tokio_task_builder = ["tokio/tracing"] unstable_discord_api = [] utils = [] voice = [ "client", "model", ] voice_model = ["serenity-voice-model"]