hyperledger-archives / ursa

Hyperledger Ursa (a shared cryptographic library) has moved to end-of-life status, with the components of Ursa still in use moved to their relevant Hyperledger projects (AnonCreds, Indy, Aries and Iroha).
https://wiki.hyperledger.org/display/ursa
Apache License 2.0
321 stars 142 forks source link

[version] Update to Rust edition 2021 #224

Closed appetrosyan closed 1 year ago

appetrosyan commented 1 year ago

Rust edition 2021 is out. This deprecates some backwards compatibility but enables multiple enhancements. Given that Ursa is under no obligation to be compilable on older versions of Rust (and in fact can benefit greatly from the new features), it is rational to ensure that Ursa compiles with the latest edition of Rust.

Moreover, this will ensure compatibility with newer versions of several libraries. And is needed for #223