[package] name = "calendar_client" version = "0.1.1" edition = "2021" authors = ["MoghTech"] description = "client to use trading economics api" license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] reqwest = { version="0.11", features=["json"], optional = true } serde = { version = "1.0", optional = true } serde_json = { version = "1.0", optional = true } tokio = { version = "1", features = ["full"], optional = true } tokio-tungstenite = { version = "0.17", features=["native-tls"], optional = true } futures-util = { version = "0.3", optional = true } [features] default = ["full"] http = ["dep:reqwest", "dep:serde", "dep:serde_json"] ws = ["dep:tokio", "dep:tokio-tungstenite", "dep:futures-util"] full = ["http", "ws"]