# 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 = "songbird" version = "0.4.6" authors = ["Kyle Simpson "] build = "build.rs" include = [ "src/**/*.rs", "Cargo.toml", "build.rs", ] autobins = false autoexamples = false autotests = false autobenches = false description = "An async Rust library for the Discord voice API." homepage = "https://github.com/serenity-rs/songbird" documentation = "https://docs.rs/songbird" readme = "README.md" keywords = [ "discord", "api", "rtp", "audio", ] license = "ISC" repository = "https://github.com/serenity-rs/songbird.git" [package.metadata.docs.rs] features = ["full-doc"] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "songbird" path = "src/lib.rs" bench = false [dependencies.aead] version = "0.5.2" optional = true [dependencies.aes-gcm] version = "0.10.3" optional = true [dependencies.async-trait] version = "0.1" optional = true [dependencies.audiopus] version = "0.3.0-rc.0" optional = true [dependencies.byteorder] version = "1" optional = true [dependencies.bytes] version = "1" optional = true [dependencies.chacha20poly1305] version = "0.10.1" optional = true [dependencies.crypto_secretbox] version = "0.1" features = ["std"] optional = true [dependencies.dashmap] version = "5" optional = true [dependencies.derivative] version = "2" [dependencies.discortp] version = "0.6" features = [ "discord", "pnet", "rtp", ] optional = true default-features = false [dependencies.flume] version = "0.11" optional = true [dependencies.futures] version = "0.3" [dependencies.nohash-hasher] version = "0.2.0" optional = true [dependencies.once_cell] version = "1" optional = true [dependencies.parking_lot] version = "0.12" optional = true [dependencies.pin-project] version = "1" [dependencies.rand] version = "0.8" optional = true [dependencies.reqwest] version = "0.11" features = ["stream"] optional = true default-features = false [dependencies.ringbuf] version = "0.4" optional = true [dependencies.rubato] version = "0.15" optional = true [dependencies.rusty_pool] version = "0.7" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde-aux] version = "4" optional = true [dependencies.serde_json] version = "1" [dependencies.serenity] version = "0.12.0" features = [ "voice", "gateway", ] optional = true default-features = false [dependencies.serenity-voice-model] version = "0.2" optional = true [dependencies.simd-json] version = "0.13" features = ["serde_impl"] optional = true [dependencies.socket2] version = "0.5" optional = true [dependencies.stream_lib] version = "0.4.2" optional = true default-features = false [dependencies.streamcatcher] version = "1" optional = true [dependencies.symphonia] version = "0.5.2" optional = true default-features = false [dependencies.symphonia-core] version = "0.5.2" optional = true [dependencies.tokio] version = "1.0" optional = true default-features = false [dependencies.tokio-tungstenite] version = "0.21" optional = true [dependencies.tokio-util] version = "0.7" features = ["io"] optional = true [dependencies.tracing] version = "0.1" features = ["log"] [dependencies.tracing-futures] version = "0.2" [dependencies.twilight-gateway] version = "0.15.0" optional = true default-features = false [dependencies.twilight-model] version = "0.15.0" optional = true default-features = false [dependencies.typemap_rev] version = "0.3" optional = true [dependencies.typenum] version = "1.17.0" optional = true [dependencies.url] version = "2" optional = true [dependencies.uuid] version = "1" features = ["v4"] optional = true [dev-dependencies.byteorder] version = "1" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.ntest] version = "0.9" [dev-dependencies.symphonia] version = "0.5.2" features = [ "aac", "isomp4", "mp3", ] [dev-dependencies.tokio] version = "1" features = [ "rt", "rt-multi-thread", "test-util", ] [features] builtin-queue = [] default = [ "driver", "gateway", "rustls", "serenity", ] driver = [ "dep:aead", "dep:aes-gcm", "dep:async-trait", "dep:audiopus", "dep:byteorder", "dep:bytes", "dep:chacha20poly1305", "dep:crypto_secretbox", "dep:discortp", "dep:flume", "dep:nohash-hasher", "dep:once_cell", "dep:parking_lot", "dep:rand", "dep:reqwest", "dep:ringbuf", "dep:rubato", "dep:rusty_pool", "dep:serde-aux", "dep:serenity-voice-model", "dep:socket2", "dep:stream_lib", "dep:streamcatcher", "dep:symphonia", "dep:symphonia-core", "dep:tokio", "dep:tokio-tungstenite", "dep:tokio-util", "dep:typemap_rev", "dep:typenum", "dep:url", "dep:uuid", "tokio?/fs", "tokio?/io-util", "tokio?/macros", "tokio?/net", "tokio?/process", "tokio?/rt", "tokio?/sync", "tokio?/time", ] full-doc = [ "default", "twilight", "builtin-queue", "receive", ] gateway = [ "dep:async-trait", "dep:dashmap", "dep:flume", "dep:once_cell", "dep:parking_lot", "dep:tokio", "tokio?/sync", "tokio?/time", ] internals = ["dep:byteorder"] native = [ "reqwest?/native-tls", "serenity?/native_tls_backend", "stream_lib?/native-tls", "tokio-tungstenite?/native-tls", "twilight-gateway?/native", ] receive = [ "dep:bytes", "discortp?/demux", "discortp?/rtcp", ] rustls = [ "reqwest?/rustls-tls", "serenity?/rustls_backend", "stream_lib?/rustls-tls", "tokio-tungstenite?/rustls-tls-webpki-roots", "twilight-gateway?/rustls-native-roots", ] twilight = [ "dep:twilight-gateway", "dep:twilight-model", ]