[package] name = "flawless-slack" version = "1.0.0-alpha.16+croatian-pine-marten" edition = "2021" description = "Transport protocol agnostic Slack client for Rust." license = "BSD-2-Clause-Patent" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" [target.'cfg(target_arch = "wasm32")'.dependencies] flawless-http = { version = "1.0.0-alpha.16", optional = true } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] reqwest = { version = "0.11", features = ["blocking"], optional = true } [features] default = ["flawless", "reqwest"] flawless = ["dep:flawless-http"] reqwest = ["dep:reqwest"]