-
Notifications
You must be signed in to change notification settings - Fork 67
/
Cargo.toml
67 lines (57 loc) · 1.42 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
[package]
authors = ["Benjamin Elder <[email protected]>", "Matt Jones <[email protected]>"]
description = "Interface for the Slack Web API"
documentation = "https://docs.rs/slack_api"
license = "Apache-2.0"
name = "slack_api"
repository = "https://github.com/slack-rs/slack-rs-api.git"
version = "0.23.1"
edition = "2018"
readme = "README.md"
[dependencies]
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
[dependencies.reqwest_]
package = "reqwest"
version = "0.10"
optional = true
default-features = false
features = ["gzip"]
[dependencies.async-trait]
package = "async-trait"
version = "0.1"
optional = true
[dev-dependencies.tokio]
package = "tokio"
version = "0.2"
features = ["macros"]
[features]
default = ["reqwest", "with_native_tls"]
async = ["async-trait"]
sync = []
reqwest = ["reqwest_", "async"]
reqwest_blocking = ["reqwest_/blocking", "sync"]
with_rustls = ["reqwest_/rustls-tls"]
with_native_tls = ["reqwest_/native-tls"]
[package.metadata.docs.rs]
all-features = true
[package.metadata.playground]
features = [
"async",
"reqwest",
"sync",
"reqwest_blocking",
]
[[example]]
name = "start_rtm"
path = "examples/start_rtm.rs"
required-features = ["reqwest"]
[[example]]
name = "channel_history"
path = "examples/channel_history.rs"
required-features = ["reqwest"]
[[example]]
name = "channel_history_sync"
path = "examples/channel_history_sync.rs"
required-features = ["sync", "reqwest_blocking"]