Home Update What’s new within the Rust programming language

What’s new within the Rust programming language

261


Version 1.34 of the Rust programs programming language is now obtainable.

  • Cargo, the venture and bundle administration system for Rus, now works with registries aside from the default (Crates.io), together with self-hosted registries. Note that any Crates hosted on Crates.io can solely rely upon Crates additionally in Crates.io.
  • The ? operator, used for unpacking errors and legitimate values from Result varieties, can now be utilized in documentation assessments. This makes it potential to put in writing extra totally fleshed out take a look at examples alongside the code being documented.
  • Custom attributes can now settle for arbitrary token streams. This permits customized attributes in procedural macros to be extra succinct and use extra idiomatic Rust code.
  • The TryFrom and TryInto traits can now permit sort conversions that may permit failure.
  • Many library and API stabilizations have been added, equivalent to assist for a wider vary of atomic integer varieties (which will be shared safely between threads).



Source hyperlink

LEAVE A REPLY

Please enter your comment!
Please enter your name here