# 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 = "swagger" version = "7.0.0-rc1" authors = ["Metaswitch Networks Ltd"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A set of common utilities for Rust code generated by OpenAPI Generator" homepage = "https://github.com/Metaswitch/swagger-rs" readme = "README.md" keywords = ["swagger"] license = "Apache-2.0" repository = "https://github.com/Metaswitch/swagger-rs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "swagger" path = "src/lib.rs" [dependencies.base64] version = "0.22" [dependencies.frunk] version = "0.4" optional = true [dependencies.frunk-enum-core] version = "0.3" optional = true [dependencies.frunk-enum-derive] version = "0.3" optional = true [dependencies.frunk_core] version = "0.4" optional = true [dependencies.frunk_derives] version = "0.4" optional = true [dependencies.futures] version = "0.3" [dependencies.headers] version = "0.4.0" [dependencies.hyper] version = "1" [dependencies.hyper-util] version = "0.1.8" features = [ "client", "client-legacy", ] optional = true [dependencies.mime] version = "0.3" optional = true [dependencies.mime_multipart] version = "0.6" optional = true [dependencies.paste] version = "1" optional = true [dependencies.regex] version = "1" optional = true [dependencies.serde] version = "1.0.119" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.serde_valid] version = "0.25" optional = true [dependencies.tokio] version = "1.0" optional = true default-features = false [dependencies.uuid] version = "1" features = [ "serde", "v4", ] [dependencies.zeroize] version = "1.8.1" features = ["zeroize_derive"] [dev-dependencies.bytes] version = "1.8.0" [dev-dependencies.http-body-util] version = "0.1.2" [dev-dependencies.hyper-util] version = "0.1.8" features = ["full"] [dev-dependencies.hyper_10] version = "0.10" package = "hyper" [dev-dependencies.mime_026] version = "0.2.6" package = "mime" [dev-dependencies.tokio] version = "1.0" features = [ "macros", "rt", ] [dev-dependencies.tokio-test] version = "0.4.4" [features] client = [ "hyper/client", "hyper-util", ] conversion = [ "frunk", "frunk_derives", "frunk_core", "frunk-enum-core", "frunk-enum-derive", ] default = ["serdejson"] http1 = ["hyper/http1"] http2 = ["hyper/http2"] multipart_form = ["mime"] multipart_related = ["mime_multipart"] serdejson = [ "serde", "serde_json", ] serdevalid = [ "serdejson", "serde_valid", "regex", "paste", ] server = ["hyper/server"] tls = [ "native-tls", "openssl", "hyper-openssl", "hyper-tls", ] uds = [ "tokio", "tokio/net", ] [target.'cfg(any(target_os = "macos", target_os = "windows", target_os = "ios"))'.dependencies.hyper-tls] version = "0.6" optional = true [target.'cfg(any(target_os = "macos", target_os = "windows", target_os = "ios"))'.dependencies.native-tls] version = "0.2" optional = true [target.'cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))'.dependencies.hyper-openssl] version = "0.10.0" features = [ "client-legacy", "tokio", ] optional = true [target.'cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))'.dependencies.openssl] version = "0.10.28" optional = true [badges.travis-ci] repository = "Metaswitch/swagger-rs"