-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
61 lines (49 loc) · 1.74 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
[package]
name = "rusty_interaction"
version = "0.3.0"
authors = ["Hugo Woesthuis <hugo@woesthuis.eu>"]
license = "ISC"
description = "Handle Discord Interactions as outgoing webhook"
repository = "https://github.com/showengineer/rusty-interaction"
readme = "README.md"
edition = "2018"
keywords = ["discord", "interactions", "discord-interactions", "slash-commands", "api"]
categories = ["api-bindings", "web-programming"]
include = ["src/**/*", "LICENSE.md", "README.md"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# For types
serde_repr = "0.1"
serde_json = "1"
chrono = "0.4"
# For security
ed25519-dalek = { version = "2.1.0", optional = true }
hex = { version = "0.4", optional = true }
# For handler
actix = { version = "0.13.1", optional = true }
actix-web = { version = "4.4.0", features = ["rustls"], optional = true }
actix-rt = { version = "2", optional = true }
reqwest = { version = "0.11.23", features = ["json"], optional = true }
async-trait = { version = "0.1", optional = true }
log = { version = "0.4", optional = true }
anymap = {version = "1.0.0-beta.2", optional = true}
rustls = {version = "0.20", optional = true }
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_with]
version = "3.4.0"
features = [ "macros", "chrono", "json" ]
[dependencies.attributes]
path = "./attributes"
version = "0.0.8"
optional = true
[features]
default = ["types", "security"]
security = ["ed25519-dalek", "hex", "types"]
builder = ["log"]
types = []
handler = ["types", "builder", "security", "actix", "actix-web", "actix-rt", "rustls", "async-trait", "attributes", "reqwest", "anymap"]
extended-handler = ["handler"]
[package.metadata.docs.rs]
all-features = true