Avoid enabling multiple rustls backends by accident
For this, we had to: - Make the choice(s) of backend explicit in tokio-xmpp features - Avoid picking a backend through transitive dependencies in xmpp (reqwest->hyper->rustls). In addition, we choose the default rustls backend by default and adapt the examples so that they can cope with either situation.
This commit is contained in:
parent
025e09aca6
commit
4e9e18444c
11 changed files with 134 additions and 15 deletions
|
|
@ -15,6 +15,13 @@ XXXX-YY-ZZ [ RELEASER <admin@localhost> ]
|
|||
- Agent::send_room_private_message now takes RoomPrivateMessageSettings (!487)
|
||||
- Event now exposes Option<MessageId> for incoming messages, and MessageId
|
||||
for incoming message corrections; type alias Id has been removed (!504)
|
||||
- The `starttls-rust` feature flag does not automatically enable a
|
||||
`rustls` crypto provider anymore. This is to avoid conflict between
|
||||
two crypto providers and to avoid linking unnecessary code. The
|
||||
`aws_lc_rs` crypto provider is still built by default, however,
|
||||
applications which use `xmpp` without default features will have to
|
||||
adapt their feature flags to explicitly enable the
|
||||
`starttls-rust-aws_lc_rs` or `starttls-rust-ring` features. (!581)
|
||||
* Added:
|
||||
- Agent::send_room_message takes RoomMessageSettings argument (!483)
|
||||
- Agent::send_raw_message takes RawMessageSettings for any message type (!487)
|
||||
|
|
|
|||
Loading…
Reference in a new issue