-
Notifications
You must be signed in to change notification settings - Fork 50
/
Cargo.toml
113 lines (98 loc) · 3.3 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
111
112
113
[package]
name = "slack-morphism"
version = "1.3.0"
authors = ["Abdulla Abdurakhmanov <me@abdolence.dev>"]
edition = "2021"
license = "Apache-2.0"
description = "Slack Morphism is a modern client library for Slack Web/Events API/Socket Mode and Block Kit"
homepage = "https://github.com/abdolence/slack-morphism-rust"
repository = "https://github.com/abdolence/slack-morphism-rust"
documentation = "https://docs.rs/slack_morphism"
keywords = ["slack", "client"]
categories = ["api-bindings"]
readme = "README.md"
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE", "SECURITY.md"]
[badges]
maintenance = { status = "actively-developed" }
[lib]
name = "slack_morphism"
path = "src/lib.rs"
[features]
default = []
hyper = ["dep:tokio","dep:hyper", "dep:hyper-rustls", "dep:tokio-stream","dep:tokio-tungstenite", "dep:tokio-tungstenite", "dep:signal-hook", "dep:signal-hook-tokio"]
axum = ["hyper", "dep:axum", "dep:tower"]
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_with = { version = "1.14", features = ["json"] }
rvstruct = "0.3"
rsb_derive = "0.5"
futures = "0.3"
futures-util = "0.3"
futures-locks = "0.7"
base64 = "0.13"
hex = "0.4"
tracing = "0.1"
ring = "0.16"
lazy_static = "1.4"
http = "0.2"
async-trait = "0.1"
bytes = "1.2"
rand = "0.8"
async-recursion="1.0"
mime = "0.3"
chrono = { version = "0.4", features = ["serde"] }
url = { version = "2.3", features = ["serde"]}
hyper = { version ="0.14", features = ["full"], optional = true }
tokio = { version = "1.21", features = ["full"], optional = true }
tokio-stream = { version = "0.1.10", optional = true }
hyper-rustls = { version="0.23", features = ["rustls-native-certs", "http2"], optional = true }
tokio-tungstenite = { version = "0.17.2", features = ["rustls-tls-native-roots"], optional = true }
signal-hook = { version = "0.3.14", features = ["extended-siginfo"], optional = true}
signal-hook-tokio = { version = "0.3.1", features = ["futures-v0_3"], optional = true }
axum = { version = "0.5", optional = true }
tower = { version = "0.4", optional = true }
[dev-dependencies]
cargo-husky = { version = "1", default-features = false, features = ["run-for-all", "prepush-hook", "run-cargo-fmt"] }
cargo-audit = "0.17"
tracing-subscriber = { version ="0.3", features = ["env-filter"] }
hyper-proxy = "0.9"
hyper = { version ="0.14", features = ["full"] }
[package.metadata.release]
tag-prefix=""
[[example]]
name = "client"
path = "examples/client.rs"
required-features = ["hyper"]
[[example]]
name = "client_with_tracing"
path = "examples/client_with_tracing.rs"
required-features = ["hyper"]
[[example]]
name = "events_api_server"
path = "examples/events_api_server.rs"
required-features = ["hyper"]
[[example]]
name = "proxy_client"
path = "examples/proxy_client.rs"
required-features = ["hyper"]
[[example]]
name = "rate_control_client"
path = "examples/rate_control_client.rs"
required-features = ["hyper"]
[[example]]
name = "socket_mode"
path = "examples/socket_mode.rs"
required-features = ["hyper"]
[[example]]
name = "state_management"
path = "examples/state_management.rs"
required-features = ["hyper"]
[[example]]
name = "webhook_message"
path = "examples/webhook_message.rs"
required-features = ["hyper"]
[[example]]
name = "axum_events_api_server"
path = "examples/axum_events_api_server.rs"
required-features = ["axum"]