# 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 = "2018"
name = "swagger"
version = "6.3.0"
authors = ["Metaswitch Networks Ltd"]
description = "A set of common utilities for Rust code generated by swagger-codegen"
homepage = "https://github.com/Metaswitch/swagger-rs"
readme = "README.md"
keywords = ["swagger"]
license = "Apache-2.0"
repository = "https://github.com/Metaswitch/swagger-rs"

[dependencies.base64]
version = "0.13"

[dependencies.frunk]
version = "0.3.0"
optional = true

[dependencies.frunk-enum-core]
version = "0.2.1"
optional = true

[dependencies.frunk-enum-derive]
version = "0.2.1"
optional = true

[dependencies.frunk_core]
version = "0.3.0"
optional = true

[dependencies.frunk_derives]
version = "0.3.0"
optional = true

[dependencies.futures]
version = "0.3"

[dependencies.hyper]
version = "0.14"

[dependencies.hyper-old-types]
version = "0.11.0"

[dependencies.hyper_0_10]
version = "0.10"
optional = true
default-features = false
package = "hyper"

[dependencies.mime]
version = "0.3"
optional = true

[dependencies.mime_0_2]
version = "0.2.6"
optional = true
package = "mime"

[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.15"
optional = true

[dependencies.slog]
version = "2"
features = [
    "max_level_trace",
    "release_max_level_debug",
]

[dependencies.tokio]
version = "1.0"
optional = true
default-features = false

[dependencies.uuid]
version = "0.8"
features = [
    "serde",
    "v4",
]

[dev-dependencies.bytes]
version = "1.0"

[dev-dependencies.hyper]
version = "0.14"
features = [
    "client",
    "http1",
    "tcp",
]

[dev-dependencies.tokio]
version = "1.0"
features = [
    "macros",
    "rt",
]

[features]
client = ["hyper/client"]
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",
    "hyper_0_10",
    "mime_0_2",
]
serdejson = [
    "serde",
    "serde_json",
]
serdevalid = [
    "serdejson",
    "serde_valid",
    "regex",
    "paste",
]
server = ["hyper/server"]
tcp = ["hyper/tcp"]
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.5"
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.9.0"
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"
