# 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 = "eskom_se_push-api" version = "0.2.0" description = "API Bindings to the Eskom-se-Push API" homepage = "https://github.com/ZimboPro/eskom-se-push-api" readme = "README.md" keywords = [ "eskom", "eskom-se-push", "se-push", ] categories = ["api-bindings"] license = "MIT OR Apache-2.0" repository = "https://github.com/ZimboPro/eskom-se-push-api" [package.metadata.docs.rs] all-features = true [[example]] name = "normal" path = "examples/normal.rs" [[example]] name = "normal_reqwest" path = "examples/normal_reqwest.rs" [[example]] name = "reqwest_client" path = "examples/reqwest_client.rs" [[example]] name = "get_status" path = "examples/get_status.rs" [[example]] name = "area_details" path = "examples/area_details.rs" [[example]] name = "area_search" path = "examples/area_search.rs" [[example]] name = "custom_env" path = "examples/custom_env.rs" [[example]] name = "ureq_client" path = "examples/ureq_client.rs" [dependencies.async-trait] version = "0.1.64" optional = true [dependencies.bytes] version = "1.4.0" [dependencies.chrono] version = "0.4.23" features = ["serde"] [dependencies.derive_builder] version = "0.12.0" [dependencies.dotenv] version = "0.15.0" [dependencies.http] version = "0.2.8" [dependencies.reqwest] version = "0.11.13" features = [ "blocking", "json", ] optional = true [dependencies.serde] version = "1.0.152" features = ["derive"] [dependencies.serde_json] version = "1.0.91" [dependencies.thiserror] version = "1.0.32" [dependencies.ureq] version = "2.6.2" features = [ "gzip", "json", ] optional = true [dependencies.url] version = "2.3.1" [features] async = ["async-trait"] default = [ "ureq", "async", "sync", "reqwest", ] reqwest = ["dep:reqwest"] sync = [] ureq = ["dep:ureq"]