# 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"
rust-version = "1.76.0"
name = "traq-bot-http"
version = "0.11.3"
authors = ["H1rono <hronok66@gmail.com>"]
include = [
    "/src",
    "/examples",
    "/README.md",
    "/LICENSE",
]
description = "Library to parse POST requests of traQ BOT event"
homepage = "https://github.com/H1rono/traq-bot-http-rs"
readme = "README.md"
keywords = [
    "http",
    "web",
    "framework",
]
categories = ["web-programming::http-server"]
license = "MIT"
repository = "https://github.com/H1rono/traq-bot-http-rs"

[package.metadata.docs.rs]
features = ["tower"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[dependencies.bytes]
version = "1"
features = []
optional = true

[dependencies.chrono]
version = "0.4"
features = ["serde"]
optional = true

[dependencies.futures-core]
version = "0.3"
features = []
optional = true

[dependencies.futures-util]
version = "0.3"
features = []
optional = true
default-features = false

[dependencies.http]
version = "1"
features = []
optional = true

[dependencies.http-body]
version = "1"
features = []
optional = true

[dependencies.http-body-util]
version = "0.1"
features = []
optional = true

[dependencies.paste]
version = "1.0"

[dependencies.pin-project-lite]
version = "0.2"
features = []
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.time]
version = "0.3"
features = [
    "serde",
    "parsing",
    "formatting",
    "macros",
]
optional = true

[dependencies.tower-service]
version = "0.3"
features = []
optional = true

[dependencies.uuid]
version = "1.11"
features = [
    "v4",
    "serde",
]
optional = true

[dev-dependencies.futures]
version = "0.3"
features = ["executor"]

[dev-dependencies.http]
version = "1"

[dev-dependencies.tower]
version = "0.5"
features = ["util"]

[features]
chrono = ["dep:chrono"]
http = [
    "dep:bytes",
    "dep:http",
    "dep:http-body",
    "dep:http-body-util",
    "dep:pin-project-lite",
    "dep:futures-core",
    "dep:futures-util",
]
time = ["dep:time"]
tower = [
    "http",
    "dep:tower-service",
]
uuid = ["dep:uuid"]

[lints.clippy.cargo]
level = "deny"
priority = 1

[lints.clippy.pedantic]
level = "deny"
priority = 0