# 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 = "discord-webhook2" version = "0.4.1" authors = ["theaddonn "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Discord webhook library" readme = "README.md" keywords = [ "discord", "discord-api", "webhook", "discord-webhook", "network", ] categories = [ "network-programming", "api-bindings", ] license = "Apache-2.0" repository = "https://github.com/theaddonn/discord-webhook2" [lib] name = "discord_webhook2" path = "src/lib.rs" [[example]] name = "complex_embed" path = "examples/complex_embed.rs" [[example]] name = "delete_message" path = "examples/delete_message.rs" [[example]] name = "edit_message" path = "examples/edit_message.rs" [[example]] name = "get_message" path = "examples/get_message.rs" [[example]] name = "hello_world" path = "examples/hello_world.rs" [[example]] name = "poll" path = "examples/poll.rs" [[example]] name = "send_file" path = "examples/send_file.rs" [[example]] name = "simple_embed" path = "examples/simple_embed.rs" [dependencies.iso8061-timestamp] version = "0.1" [dependencies.reqwest] version = "0.12" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_repr] version = "0.1" [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1" features = [ "rt", "rt-multi-thread", "macros", ] [dependencies.url] version = "2.5" [features] default = [ "reqwest/json", "reqwest/multipart", ] rustls-tls = [ "reqwest/json", "reqwest/multipart", "reqwest/rustls-tls", ]