# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "threescalers" version = "0.8.0" authors = ["Alejandro Martinez Ruiz ", "David Ortiz Lopez "] exclude = [".gitignore", "bors.toml", ".mailmap", "/ci/**", "/.github/**"] description = "3scale API client library for Rust" readme = "README.md" keywords = ["3scale", "api-management", "api", "apisonator"] categories = ["api-bindings"] license = "Apache-2.0" repository = "https://github.com/3scale-rs/threescalers" [[example]] name = "reqwest-report" required-features = ["reqwest-sync"] [[example]] name = "curl-easy-report" required-features = ["curl-easy"] [[example]] name = "curl-easy2-report" required-features = ["curl-easy2"] [dependencies.anyhow] version = "^1" default-features = false [dependencies.chrono] version = "^0.4" optional = true default-features = false [dependencies.curl] version = "^0.4" optional = true [dependencies.http_types] version = "^0.2" optional = true package = "http" [dependencies.lazy_static] version = "^1" features = ["spin_no_std"] optional = true default-features = false [dependencies.no-std-compat] version = "^0.4" features = ["alloc"] [dependencies.percent-encoding] version = "^2" [dependencies.regex] version = "^1" features = ["perf"] optional = true default-features = false [dependencies.reqwest] version = ">= 0.10, < 0.12" optional = true [dependencies.serde] version = "^1" features = ["alloc", "derive"] optional = true default-features = false [dependencies.serde-xml-rs] version = "^0.4" optional = true [dev-dependencies.itertools] version = "^0.10" [dev-dependencies.rand] version = "^0.8" [dev-dependencies.serde_json] version = "^1.0" [features] all-types = ["http-types", "reqwest-all", "curl-all"] curl-all = ["curl-easy", "curl-easy2"] curl-easy = ["curl"] curl-easy2 = ["curl"] default = ["std", "xml-response", "rest-mappings"] http-types = ["http_types"] reqwest-all = ["reqwest-async", "reqwest-sync"] reqwest-async = ["reqwest", "http-types"] reqwest-sync = ["reqwest", "reqwest/blocking", "http-types"] rest-mappings = ["regex", "lazy_static"] rest-mappings-serde = ["serde"] std = ["no-std-compat/std", "anyhow/std", "regex/std"] xml-response = ["serde-xml-rs", "serde", "chrono"] [badges.codecov] repository = "3scale-rs/threescalers" [badges.maintenance] status = "actively-developed"