The semver rules in Cargo are weird when it comes to transitioning out of pre-releases. Add the following to your Cargo.toml until next version is released:
actix-tls = "=2.0.0-alpha.2"
That's not the only breaking change... Also the Ssl -> Tls renaming creates some woes...
would it be possible to use type aliases for the old type names and deprecated methods for the renamed methods? Give users a little bit more time to convert code.
Did consider it, but there's breaking changes in the -tls release anyway and mostly just easy renames. It's also not possible to alias a single enum variant otherwise I'd have gone through with it.
We'll get this remedied ASAP.
Would suggest doing a new release because the beta3 is already breaking for me :( Currently I'm hotpatching and renaming that function to max_concurrent_tls_connect to work around
beta 4 is released
Now actix-web-actors is broken and needs a release... 馃槄
Checking actix-web-actors v3.0.0-beta.1
error[E0599]: no method named `encode` found for struct `actix_http::ws::Codec` in the current scope
--> /Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-web-actors-3.0.0-beta.1/src/ws.rs:438:30
|
438 | this.encoder.encode(msg, &mut this.buf)?;
| ^^^^^^ method not found in `actix_http::ws::Codec`
|
= help: items from traits can only be used if the trait is in scope
= note: the following trait is implemented but not in scope; perhaps add a `use` for it:
`use tokio_util::codec::encoder::Encoder;`
Most helpful comment
beta 4 is released