# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "mattermost_api" version = "0.6.0" build = false exclude = [".github"] autobins = false autoexamples = false autotests = false autobenches = false description = "Rust bindings for the Mattermost API" homepage = "https://github.com/Celeo/mattermost_api" documentation = "https://docs.rs/mattermost_api" readme = "README.md" keywords = ["mattermost"] categories = ["api-bindings"] license = "MIT OR Apache-2.0" repository = "https://github.com/Celeo/mattermost_api" [lib] name = "mattermost_api" path = "src/lib.rs" [dependencies.async-trait] version = "0.1.52" [dependencies.async-tungstenite] version = "0.16.1" features = ["tokio-runtime"] [dependencies.futures-util] version = "0.3.19" [dependencies.http] version = "0.2.6" [dependencies.log] version = "0.4.14" [dependencies.reqwest] version = "0.11.8" features = ["json"] default-features = false [dependencies.serde] version = "1.0.133" features = ["derive"] [dependencies.serde_json] version = "1.0.74" [dependencies.thiserror] version = "1.0.30" [dependencies.tokio] version = "1.15.0" features = ["full"] optional = true [dependencies.url] version = "2.5.2" [dev-dependencies.mockito] version = "0.30.0" [dev-dependencies.tokio] version = "1.15.0" features = ["full"] [features] default = [ "native-tls", "ws-keep-alive", ] native-tls = [ "async-tungstenite/tokio-native-tls", "reqwest/native-tls", ] rustls = [ "async-tungstenite/tokio-rustls-webpki-roots", "reqwest/rustls-tls", ] rustls-native-certs = [ "async-tungstenite/tokio-rustls-native-certs", "reqwest/rustls-tls-native-roots", ] ws-keep-alive = ["dep:tokio"]