It would be nice to just backport the change from 0.5.x and re-release Here's a PR for the code https://github.com/arkworks-rs/algebra/pull/979