Make Client and Component more unified, and connectors too
This commit is contained in:
parent
fde4c2b640
commit
311e7406f0
11 changed files with 338 additions and 183 deletions
|
|
@ -17,6 +17,11 @@ XXXX-YY-ZZ RELEASER <admin@example.com>
|
|||
please let us know and it will be reintegrated (!428)
|
||||
- `XMPPStream` was renamed `XmppStream` and is now published as `tokio_xmpp::proto::XmppStream` (!428)
|
||||
- `XmppCodec` was moved to proto module and is now published as `tokio_xmpp::proto::XmppCodec` (!428)
|
||||
- `Component::new` and `Client::new only require jid/password argument (!428)
|
||||
- `ServerConfig` and `Client::new_with_config` have been removed (!428)
|
||||
- `Component` and `Client` now have `new_plaintext`, `new_starttls` and `new_with_connector` methods with same signature (!428)
|
||||
`new_plaintext` and `new_starttls` take a DnsConfig struct for SRV/DNS resolution strategy, while `new_with_connector` takes
|
||||
anything that implements ServerConnector
|
||||
|
||||
Version 4.0.0:
|
||||
2024-07-26 Maxime “pep” Buquet <pep@bouah.net>
|
||||
|
|
|
|||
Loading…
Reference in a new issue