rustls / rustls-platform-verifier

A certificate verification library for rustls that uses the operating system's verifier
Apache License 2.0
61 stars 20 forks source link

jni 0.21 migration #22

Open cpu opened 1 year ago

cpu commented 1 year ago

Presently this crate uses jni-rs v0.19 as an optional dependency for doc generation, and a required dependency for the Android OS target.

The latest release stream, 0.21.x, "makes extensive breaking changes in order to improve safety. Most projects that use this library will need to be changed accordingly.". The upstream project offers a migration guide to help with this process.

Given the advertised safety improvements it's likely worthwhile to consider the steps required for migration.

complexspaces commented 1 year ago

Thanks for taking a glance at this! The new safety improvements look very welcome. Our uses are pretty simple so I'm hoping our upgrade path is pretty smooth.