Skip to content

actix-tls v3 uses str_split_once and bumps MSRV to 1.52 #433

Closed
@david-mcgillicuddy-moixa

Description

Hi,
For reasons I don't really want to get into, for the time being we're stuck on rust version 1.51. Actix-tls v3 uses str::split_once (and actix-http uses str::rsplit_once) which bumps the MSRV up to 1.54. For the time being we've downgraded to actix-tls 3.0.0-beta.9 which doesn't do this, which is fine for now.

However, given that it's a small helper method, would you be open to a PR that replaces its use, or at least gates it behind some kind of compile flag? Happy to submit it. I realise we have just missed the beta/rc period too, awkward.
Otherwise I guess we'll have to maintain a fork for just those methods.

It is annoying that rust/cargo doesn't currently provide much feedback on this if you're not stuck on an old version yourself, although support is coming: rust-lang/rust#65262

Thanks,
David

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions