[package] name = "panda" version = "0.5.3" description = "An async Rust library for Discord" keywords = ["discord", "async", "tokio", "async-std"] authors = ["Diego BarrĂ­a "] repository = "https://github.com/xyaman/panda" readme = "README.md" license = "MIT OR Apache-2.0" edition = "2018" [features] #default = ["tokio-runtime"] default = ["tokio-runtime"] tokio-runtime = ["tokio", "tokio-tls", "async-tungstenite/tokio-runtime", "async-tungstenite/tokio-tls"] async-std-runtime = ["async-std", "async-tls", "async-tungstenite/async-std-runtime", "async-tungstenite/async-tls"] # async-std-native-tls = ["async-std", "async-native-tls", "async-tungstenite/async-native-tls"] [dependencies] # Serde dependencies serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" serde_repr = "0.1.5" # Async futures = "0.3.5" isahc = { version = "0.9.3", features = ["json"] } flate2 = { version = "1.0.14", features = ["zlib"], default-features = false } url = "2.1.1" log = "0.4.8" [dependencies.tokio] version = "0.2.21" features = ["time", "tcp"] optional = true [dependencies.tokio-tls] version = "0.3.1" optional = true [dependencies.async-std] version = "1.6.0" optional = true [dependencies.async-tls] version = "0.7.0" optional = true # [dependencies.async-native-tls] # version = "0.3.0" # optional = true [dependencies.async-tungstenite] version = "0.5.0" [[example]] name = "ping_pong" required-features = ["tokio/macros"] [[example]] name = "embed" required-features = ["tokio/macros"] [[example]] name = "config" required-features = ["tokio/macros"] [[example]] name = "state" required-features = ["tokio/macros"] [[example]] name = "status" required-features = ["tokio/macros"]