v3.0.0
-
Breaking: Transports were refactored slightly:
Renamedtwitch_irc::TCPTransport
toSecureTCPTransport
, addedPlainTCPTransport
for plain-text IRC connections.
Renamedtwitch_irc::WSSTransport
toSecureWSTransport
, addedPlainWSTransport
for plain-text IRC-over-WebSocket-connections.
Refactored feature flags: This crate used to only have thetransport-tcp
andtransport-wss
feature flags. The following is the new list of feature flags relevant to transports:transport-tcp
enablesPlainTCPTransport
transport-tcp-native-tls
enablesSecureTCPTransport
using OS-native TLS functionality (and using the root certificates configured in your operating system).transport-tcp-rustls-native-roots
enablesSecureTCPTransport
using rustls, but still using the root certificates configured in your operating system.transport-tcp-rustls-webpki-roots
enablesSecureTCPTransport
using rustls with root certificates provided bywebpki-roots
(Mozilla's root certificates). This is the most portable since it does not rely on OS-specific functionality.transport-ws
(notice this is nowws
instead ofwss
) - EnablesPlainWSTransport
transport-ws-native-tls
- EnablesSecureWSTransport
using native TLS (same as above)transport-ws-rustls-webpki-roots
- EnablesSecureWSTransport
using rustls with Mozilla's root certificates (same as above)
Some accompanying items have also been made
pub
in the crate. -
Breaking: Updated
metrics
to version 0.16. -
Minor: Added
timeout
,untimeout
,ban
andunban
methods toTwitchIRCClient
(#110) -
Minor: Added
serde
feature, adding the ability to serialize or deserialize the command structs using serde. (#120) -
Minor: Metrics are no longer initialized, undoing the change introduced with v2.2.0 (#129)