# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "panda" version = "0.5.3" authors = ["Diego BarrĂ­a "] description = "An async Rust library for Discord" readme = "README.md" keywords = ["discord", "async", "tokio", "async-std"] license = "MIT OR Apache-2.0" repository = "https://github.com/xyaman/panda" [[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"] [dependencies.async-std] version = "1.6.0" optional = true [dependencies.async-tls] version = "0.7.0" optional = true [dependencies.async-tungstenite] version = "0.5.0" [dependencies.flate2] version = "1.0.14" features = ["zlib"] default-features = false [dependencies.futures] version = "0.3.5" [dependencies.isahc] version = "0.9.3" features = ["json"] [dependencies.log] version = "0.4.8" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_repr] version = "0.1.5" [dependencies.tokio] version = "0.2.21" features = ["time", "tcp"] optional = true [dependencies.tokio-tls] version = "0.3.1" optional = true [dependencies.url] version = "2.1.1" [features] async-std-runtime = ["async-std", "async-tls", "async-tungstenite/async-std-runtime", "async-tungstenite/async-tls"] default = ["tokio-runtime"] tokio-runtime = ["tokio", "tokio-tls", "async-tungstenite/tokio-runtime", "async-tungstenite/tokio-tls"]