# 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 = "skua-voice" version = "0.4.0" authors = ["Kyle Simpson "] include = [ "src/**/*.rs", "Cargo.toml", "build.rs", ] description = "Custom fork of Songbird for KenaBot." homepage = "https://github.com/KenaBot/skua-voice" documentation = "https://docs.rs/skua-voice" readme = "README.md" keywords = [ "discord", "api", "rtp", "audio", ] license = "ISC" repository = "https://github.com/KenaBot/skua-voice" [package.metadata.docs.rs] features = ["full-doc"] rustdoc-args = [ "--cfg", "docsrs", ] [lib] bench = false [[bench]] name = "base-mixing" path = "benches/base-mixing.rs" harness = false required-features = ["internals"] [[bench]] name = "mixing-task" path = "benches/mixing-task.rs" harness = false required-features = ["internals"] [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.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.3" optional = true [dependencies.rubato] version = "0.14.1" 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.simd-json] version = "0.13" features = ["serde_impl"] optional = true [dependencies.skua] version = "0.12.1" features = [ "voice", "gateway", ] optional = true default-features = false [dependencies.skua-voice-model] version = "0.2" optional = true [dependencies.socket2] version = "0.5" optional = true [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.20" 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.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", "skua", ] driver = [ "dep:async-trait", "dep:audiopus", "dep:byteorder", "dep:crypto_secretbox", "dep:discortp", "dep:reqwest", "dep:flume", "dep:nohash-hasher", "dep:once_cell", "dep:parking_lot", "dep:rand", "dep:ringbuf", "dep:rubato", "dep:rusty_pool", "dep:serde-aux", "dep:skua-voice-model", "dep:socket2", "dep:streamcatcher", "dep:symphonia", "dep:symphonia-core", "dep:tokio", "dep:tokio-tungstenite", "dep:tokio-util", "dep:typemap_rev", "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", "skua?/native_tls_backend", "tokio-tungstenite?/native-tls", "twilight-gateway?/native", ] receive = [ "dep:bytes", "discortp?/demux", "discortp?/rtcp", ] rustls = [ "reqwest?/rustls-tls", "skua?/rustls_backend", "tokio-tungstenite?/rustls-tls-webpki-roots", "twilight-gateway?/rustls-native-roots", ] twilight = [ "dep:twilight-gateway", "dep:twilight-model", ]