mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-10-17 09:53:41 +00:00
* feat(rust): add the native-tls (default) and rustls Cargo features for `reqwest` * refactor(rust): rename the `rustls` Cargo feature to follow the ecosystem naming convention
21 lines
681 B
TOML
21 lines
681 B
TOML
[package]
|
|
name = "oneof-array-map-reqwest"
|
|
version = "0.0.1"
|
|
authors = ["OpenAPI Generator team and contributors"]
|
|
description = "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)"
|
|
# Override this license by providing a License Object in the OpenAPI.
|
|
license = "Unlicense"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
serde = { version = "^1.0", features = ["derive"] }
|
|
serde_json = "^1.0"
|
|
serde_repr = "^0.1"
|
|
url = "^2.5"
|
|
reqwest = { version = "^0.12", default-features = false, features = ["json", "blocking", "multipart"] }
|
|
|
|
[features]
|
|
default = ["native-tls"]
|
|
native-tls = ["reqwest/native-tls"]
|
|
rustls-tls = ["reqwest/rustls-tls"]
|