The openssl-sys crate now natively supports openssl 3 on the master branch, although there doesn't seem to be a release containing it yet.