-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
110 lines (92 loc) · 2.16 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[workspace]
members = ["./.", "examples/*"]
[package]
name = "traq-bot-http"
version = "0.11.2"
authors = ["H1rono <hronok66@gmail.com>"]
edition = "2021"
description = "Library to parse POST requests of traQ BOT event"
rust-version = "1.76.0"
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 = ["tower"]
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
paste = "1.0"
[dependencies.uuid]
version = "1.11"
features = ["v4", "serde"]
optional = true
[dependencies.time]
version = "0.3"
features = ["serde", "parsing", "formatting", "macros"]
optional = true
[dependencies.chrono]
version = "0.4"
features = ["serde"]
optional = true
[dependencies.bytes]
version = "1"
features = []
optional = true
[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.futures-core]
version = "0.3"
features = []
optional = true
[dependencies.futures-util]
version = "0.3"
default-features = false
features = []
optional = true
[dependencies.pin-project-lite]
version = "0.2"
features = []
optional = true
[dependencies.tower-service]
version = "0.3"
features = []
optional = true
[dev-dependencies]
http = "1"
futures = { version = "0.3", features = ["executor"] }
tower = { version = "0.5", features = ["util"] }
[features]
uuid = ["dep:uuid"]
time = ["dep:time"]
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",
]
tower = ["http", "dep:tower-service"]
[lints.clippy]
pedantic.level = "deny"
pedantic.priority = 0
cargo.level = "deny"
cargo.priority = 1