[workspace] members = ["./.", "examples/*"] [package] name = "traq-bot-http" version = "0.10.1" authors = ["H1rono "] edition = "2021" description = "Library to parse POST requests of traQ BOT event" rust-version = "1.67.1" homepage = "https://github.com/H1rono/traq-bot-http-rs" keywords = ["http", "web", "framework"] categories = ["web-programming::http-server"] license = "MIT" readme = "README.md" repository = "https://github.com/H1rono/traq-bot-http-rs" include = ["/src", "/examples", "/README.md", "/LICENSE"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [package.metadata.docs.rs] features = ["http"] [dependencies] serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" paste = "1.0" [dependencies.uuid] version = "1.3" features = ["v4", "serde"] optional = true [dependencies.time] version = "0.3" features = ["serde", "parsing", "formatting", "macros"] optional = true [dependencies.chrono] version = "0.4" optional = true features = ["serde"] [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.tower] version = "0.4" default-features = false features = ["util"] optional = true [dependencies.tower-http] version = "0.6" default-features = false optional = true [dependencies.futures] version = "0.3" features = [] optional = true [dependencies.pin-project-lite] version = "0.2" features = [] optional = true [dev-dependencies] http = "1" futures = { version = "0.3", features = ["executor"] } [features] uuid = ["dep:uuid"] time = ["dep:time"] chrono = ["dep:chrono"] http = ["dep:http", "dep:http-body", "dep:http-body-util"] tower = ["http", "dep:tower", "dep:tower-http", "dep:futures", "dep:pin-project-lite"]