# 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 = "2024"
name = "discord_hook"
version = "0.1.0"
build = false
exclude = ["target/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust crate for sending messages to Discord via webhooks"
readme = "README.md"
keywords = [
    "discord",
    "webhook",
    "notification",
    "bot",
    "async",
]
categories = [
    "web-programming",
    "web-programming::http-client",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/RayburnCode/hooksmith"
resolver = "2"

[features]
default = ["rustls"]
native-tls = ["reqwest/native-tls"]
rustls = ["reqwest/rustls"]

[lib]
name = "discord_hook"
path = "src/lib.rs"

[dependencies.hooksmith-core]
version = "0.1"

[dependencies.reqwest]
version = "0.13.2"
features = ["json"]
default-features = false

[dependencies.secrecy]
version = "0.10"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.tokio]
version = "1"
features = ["full"]
