[package] authors.workspace = true categories = ["api-bindings", "asynchronous", "web-programming::http-client", "web-programming::websocket"] description = "Lavalink client for the Twilight ecosystem." edition.workspace = true homepage = "https://twilight.rs/chapter_1_crates/section_8_first_party/section_3_lavalink.html" include.workspace = true keywords = ["discord", "discord-api", "lavalink", "twilight"] license.workspace = true name = "twilight-lavalink" publish = true rust-version.workspace = true repository.workspace = true version = "0.16.0-rc.1" [dependencies] dashmap = { default-features = false, version = "5.3" } futures-util = { default-features = false, features = ["bilock", "sink", "std", "unstable"], version = "0.3" } http = { default-features = false, version = "1" } serde = { default-features = false, features = ["derive", "std"], version = "1" } serde_json = { default-features = false, features = ["std"], version = "1" } tokio = { default-features = false, features = ["macros", "net", "rt", "sync", "time"], version = "1.0" } tokio-websockets = { default-features = false, features = ["client", "fastrand", "sha1_smol", "simd"], version = "0.5" } tracing = { default-features = false, features = ["std", "attributes"], version = "0.1" } twilight-model = { default-features = false, path = "../twilight-model", version = "0.16.0-rc.1" } # Optional dependencies. percent-encoding = { default-features = false, optional = true, version = "2" } [dev-dependencies] anyhow = { default-features = false, features = ["std"], version = "1" } serde_test = { default-features = false, version = "1" } static_assertions = { default-features = false, version = "1" } tokio = { default-features = false, features = ["macros", "rt-multi-thread"], version = "1.0" } tracing-subscriber = { default-features = false, features = ["fmt", "tracing-log"], version = "0.3" } twilight-gateway = { default-features = false, features = ["rustls-native-roots"], path = "../twilight-gateway", version = "0.16.0-rc.1" } twilight-http = { default-features = false, features = ["rustls-native-roots"], path = "../twilight-http", version = "0.16.0-rc.1" } [features] default = ["http-support", "rustls-native-roots"] http-support = ["dep:percent-encoding"] native-tls = ["tokio-websockets/native-tls", "tokio-websockets/openssl"] rustls-native-roots = ["tokio-websockets/ring", "tokio-websockets/rustls-native-roots"] rustls-webpki-roots = ["tokio-websockets/ring", "tokio-websockets/rustls-webpki-roots"] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]