[package] authors = ["Benjamin Elder ", "Matt Jones "] 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"]