-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
66 lines (55 loc) · 1.76 KB
/
Cargo.toml
File metadata and controls
66 lines (55 loc) · 1.76 KB
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
[package]
name = "yadwh"
license = "MIT"
version = "0.1.4"
edition = "2021"
description = "Yet Another Discord Webhook Crate"
readme = "README.md"
homepage = "https://github.com/Ohkthx/yadwh-rs"
repository = "https://github.com/Ohkthx/yadwh-rs"
keywords = ["discord", "webhook", "asynchronous", "notify", "notifications"]
include = ["**/*.rs"]
[features]
default = []
full = ["examples"]
examples = ["dep:tokio"]
[[example]]
name = "get_webhook"
path = "examples/get_webhook.rs"
required-features = ["examples"]
[[example]]
name = "modify_webhook"
path = "examples/modify_webhook.rs"
required-features = ["examples"]
[[example]]
name = "delete_webhook"
path = "examples/delete_webhook.rs"
required-features = ["examples"]
[[example]]
name = "create_message"
path = "examples/create_message.rs"
required-features = ["examples"]
[[example]]
name = "create_thread_message"
path = "examples/create_thread_message.rs"
required-features = ["examples"]
[[example]]
name = "get_message"
path = "examples/get_message.rs"
required-features = ["examples"]
[[example]]
name = "edit_message"
path = "examples/edit_message.rs"
required-features = ["examples"]
[[example]]
name = "delete_message"
path = "examples/delete_message.rs"
required-features = ["examples"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
futures = "0.3" # Async / await blocks
tokio = { version = "1.12.0", features = ["full"], optional = true } # Async runtime
serde_json = "1.0.96" # Converting Objects from API.
serde = { version = "1.0.163", features = ["derive"] } # Converting Objects from API.
hyper = {version = "0.14.27", features = ["client", "tcp", "http1"] } # Used to make HTTP requests.
hyper-tls = "0.5.0" # Used to make HTTPS requests with Hyper.