content: [package]
  name = "swagger"
  version = "7.0.0-rc3"
  authors = ["Metaswitch Networks Ltd"]
  license = "Apache-2.0"
  description = "A set of common utilities for Rust code generated by OpenAPI Generator"
  homepage = "https://github.com/Metaswitch/swagger-rs"
  repository = "https://github.com/Metaswitch/swagger-rs"
  readme = "README.md"
  keywords = ["swagger"]
  edition = "2021"
  
  [features]
  default = ["serdejson"]
  multipart_form = ["mime"]
  multipart_related = ["mime_multipart", "mime"]
  serdejson = ["serde_json"]
  serdevalid = ["serdejson", "serde_valid", "regex", "paste"]
  server = ["hyper/server"]
  http1 = ["hyper/http1"]
  http2 = ["hyper/http2"]
  client = ["hyper/client", "hyper-util"]
  tls = ["native-tls", "openssl", "hyper-openssl", "hyper-tls"]
  uds = ["tokio", "tokio/net"]
  conversion = [
      "frunk",
      "frunk_derives",
      "frunk_core",
      "frunk-enum-core",
      "frunk-enum-derive",
  ]
  
  [dependencies]
  base64 = "0.22"
  futures = "0.3"
  headers = "0.4.0"
  http = "1"
  bytes = "1.8.0"
  hyper = "1"
  
  # Conversion
  frunk = { version = "0.4", optional = true }
  frunk-enum-core = { version = "0.3", optional = true }
  frunk-enum-derive = { version = "0.3", optional = true }
  frunk_core = { version = "0.4", optional = true }
  frunk_derives = { version = "0.4", optional = true }
  
  # Client
  hyper-util = { version = "0.1.8", features = [
      "client",
      "client-legacy",
  ], optional = true }
  
  # multipart/form-data
  mime = { version = "0.3", optional = true }
  
  # multipart/related
  mime_multipart = { version = "0.10", package = "mime-multipart-hyper1", optional = true }
  
  # serde
  paste = { version = "1", optional = true }
  regex = { version = "1", optional = true }
  serde = { version = "1.0.225", features = ["derive"] }
  serde_json = { version = "1.0", optional = true }
  serde_valid = { version = "1.0", optional = true }
  serde-value = { version = "0.7" }
  
  # UDS (Unix Domain Sockets)
  tokio = { version = "1.0", default-features = false, optional = true }
  uuid = { version = "1", features = ["serde", "v4"] }
  zeroize = { version = "1.8.1", features = ["zeroize_derive"] }
  
  [target.'cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))'.dependencies]
  hyper-openssl = { version = "0.10.0", optional = true, features = [
      "client-legacy",
      "tokio",
  ] }
  openssl = { version = "0.10.28", optional = true }
  
  [target.'cfg(any(target_os = "macos", target_os = "windows", target_os = "ios"))'.dependencies]
  hyper-tls = { version = "0.6", optional = true }
  native-tls = { version = "0.2", optional = true }
  
  [dev-dependencies]
  hyper-util = { version = "0.1.8", features = ["full"] }
  tokio = { version = "1.0", features = ["macros", "rt"] }
  tokio-test = "0.4.4"
  http-body-util = "0.1.2"
  
  [package.metadata.docs.rs]
  # Enable all features, pending https://github.com/rust-lang/rust/issues/43781 being resolved.
  all-features = true
  rustdoc-args = ["--cfg", "docsrs"]
  