sfackler / rust-native-tls

Apache License 2.0
470 stars 195 forks source link

Borrow the bytes array for Rust < 1.53 #223

Closed NinoScript closed 2 years ago

NinoScript commented 2 years ago

Addresses issue https://github.com/sfackler/rust-native-tls/issues/222 to keep MSRV lower than 1.53

sfackler commented 2 years ago

Can you also update the version we test against in CI? https://github.com/sfackler/rust-native-tls/blob/master/.github/workflows/ci.yml#L39

NinoScript commented 2 years ago

CI failed with the lower MSRV. Other projects need changes too to keep the MSRV low. I decided that I'd rather push for updating Rust than force open-source projects to use older syntax.