[package] name = "hvcg_example_openapi_entity" version = "1.0.0" authors = [] description = "This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters." license = "Unlicense" edition = "2018" [features] default = ["client", "server"] client = [ "mime_0_2", "multipart", "multipart/client", "swagger/multipart_form", "serde_urlencoded", "hyper", "hyper-openssl", "hyper-tls", "native-tls", "openssl", "url" ] server = [ "mime_0_2", "multipart", "multipart/server", "serde_ignored", "hyper", "regex", "percent-encoding", "url", "lazy_static" ] conversion = ["frunk", "frunk_derives", "frunk_core", "frunk-enum-core", "frunk-enum-derive"] [target.'cfg(any(target_os = "macos", target_os = "windows", target_os = "ios"))'.dependencies] native-tls = { version = "0.2", optional = true } hyper-tls = { version = "0.4", optional = true } [target.'cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))'.dependencies] hyper-openssl = { version = "0.8", optional = true } openssl = {version = "0.10", optional = true } [dependencies] # Common async-trait = "0.1.24" chrono = { version = "0.4", features = ["serde"] } futures = "0.3" swagger = "5.0.2" log = "0.4.0" mime = "0.3" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" # Crates included if required by the API definition mime_0_2 = { package = "mime", version = "0.2.6", optional = true } multipart = { version = "0.16", default-features = false, optional = true } # Common between server and client features hyper = {version = "0.13", optional = true} serde_ignored = {version = "0.1.1", optional = true} url = {version = "2.1", optional = true} # Client-specific serde_urlencoded = {version = "0.6.1", optional = true} # Server, and client callback-specific lazy_static = { version = "1.4", optional = true } percent-encoding = {version = "2.1.0", optional = true} regex = {version = "1.3", optional = true} # Conversion frunk = { version = "0.3.0", optional = true } frunk_derives = { version = "0.3.0", optional = true } frunk_core = { version = "0.3.0", optional = true } frunk-enum-derive = { version = "0.2.0", optional = true } frunk-enum-core = { version = "0.2.0", optional = true } [dev-dependencies] clap = "2.25" env_logger = "0.7" tokio = { version = "0.2", features = ["rt-threaded", "macros", "stream"] } native-tls = "0.2" tokio-tls = "0.3" [target.'cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))'.dev-dependencies] tokio-openssl = "0.4" openssl = "0.10" [[example]] name = "client" required-features = ["client"] [[example]] name = "server" required-features = ["server"]