Azure / Azure/azure-sdk-for-rust
Not Possible to use rustls with `azure_messaging_eventhubs`
- Dominant language
- Rust
- Stars
- 884
- Forks
- 365
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 112
Description
### Bug Title
Not Possible to use rustls with `azure_messaging_eventhubs`
### Crate Name
azure_messaging_eventhubs
### Crate Version
0.10.0
### Description
Raising as a bug as this is possible to use `rustls` with `azure_core_amqp`, but due to the dependency setup of `azure_messaging_eventhubs` it's not possible and always defaults back to `native-tls`.
### Steps to Reproduce
Create project with:
```
azure_core_amqp = { version = "0.10.0", default-features = false, features = ["rustls"] }
azure_messaging_eventhubs = { version = "0.10.0", default-features = false }
```
...and run: `cargo tree --target x86_64-unknown-linux-musl`
### Checklist
- [x] Follow our [Code of Conduct](https://github.com/Azure/azure-sdk-for-rust/blob/main/CODE_OF_CONDUCT.md)
- [x] Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
- [x] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
Contributor guide
Research direction
Start with the feature and dependency setup for the azure_messaging_eventhubs and azure_core_amqp crates, using the reported minimal project as the entry point. Rerun `cargo tree --target x86_64-unknown-linux-musl` with the shown feature configuration; done means rustls can be selected through azure_messaging_eventhubs without it defaulting to native-tls.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100