# 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" name = "topgg" version = "1.4.2" authors = [ "null (https://github.com/null8626)", "Top.gg (https://top.gg)", ] exclude = [ ".gitattributes", ".github/", ".gitignore", "rustfmt.toml", ] description = "The official Rust wrapper for the Top.gg API" readme = "README.md" keywords = [ "discord", "bot", "topgg", ] categories = [ "api-bindings", "web-programming::http-client", ] license = "MIT" repository = "https://github.com/Top-gg-Community/rust-sdk" [package.metadata.docs.rs] all-features = true rustc-args = [ "--cfg", "docsrs", ] rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.actix-web] version = "4" optional = true default-features = false [dependencies.async-trait] version = "0.1" optional = true [dependencies.axum] version = "0.7" features = [ "http1", "tokio", ] optional = true default-features = false [dependencies.cfg-if] version = "1" [dependencies.chrono] version = "0.4" features = ["serde"] optional = true default-features = false [dependencies.paste] version = "1" optional = true [dependencies.reqwest] version = "0.12" optional = true [dependencies.rocket] version = "0.5" features = ["json"] optional = true default-features = false [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" optional = true [dependencies.serenity] version = "0.12" features = [ "builder", "client", "gateway", "model", "utils", ] optional = true [dependencies.tokio] version = "1" features = [ "rt", "sync", "time", ] optional = true [dependencies.twilight-cache-inmemory] version = "0.15" optional = true [dependencies.twilight-model] version = "0.15" optional = true [dependencies.urlencoding] version = "2" optional = true [dependencies.warp] version = "0.3" optional = true default-features = false [features] actix-web = [ "webhook", "dep:actix-web", ] api = [ "chrono", "reqwest", "serde_json", ] autoposter = [ "api", "tokio", ] axum = [ "webhook", "async-trait", "serde_json", "dep:axum", ] default = ["api"] rocket = [ "webhook", "dep:rocket", ] serenity = [ "dep:serenity", "paste", ] serenity-cached = [ "serenity", "serenity/cache", ] twilight = ["twilight-model"] twilight-cached = [ "twilight", "twilight-cache-inmemory", ] warp = [ "webhook", "async-trait", "dep:warp", ] webhook = ["urlencoding"]