[Rust] Add support for native-tls and rustls-tls Cargo features for the reqwest library#21925
Conversation
|
thanks for the PR CI tests failed: https://github.com/OpenAPITools/openapi-generator/actions/runs/17565976588/job/49899025424?pr=21925 please take a look when you've time. |
|
To mirror the behaviour of seanmonstar/reqwest#2025 is relevant here. |
I agree.
I agree. But wouldn't that be a breaking change, so a different PR? |
…stem naming convention
296a50c to
69e175e
Compare
@wing328
IMO it is. Update: separate issue here #21933 |
…he reqwest library (OpenAPITools#21925) * 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
…he reqwest library (OpenAPITools#21925) * 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
Implements #21924
PR checklist
Commit all changed files.
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*.IMPORTANT: Do NOT purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed.
master(upcoming7.x.0minor release - breaking changes with fallbacks),8.0.x(breaking changes without fallbacks)"fixes #123"present in the PR description)