📜 ⬆️ ⬇️

Announcement Rust 1.11

We are pleased to introduce the new version of Rust 1.11. Rust is a system programming language aimed at the safe work with memory, speed and parallel code execution.


As usual, you can install Rust 1.11 from the corresponding page of the official site, and also get acquainted with the detailed list of changes in this version on GitHub. This release includes 1109 patches.


What is included in the stable version 1.11


In 1.11 we worked a lot on compiler internals, which are not yet stable. We are pleased to announce that MIR will soon become the default translator and we are taking the first steps towards incremental compilation . In release 1.11, we laid the foundation for this work.


With regard to changes visible to users, in the last issue we talked about a new type of container - cdylib .


The existing dylib dynamic library dylib now only used for dynamic libraries used in Rust projects, and cdylib will be used when compiling Rust code for embedding into other languages. In release 1.10, cdylib supported by the compiler, but not yet supported by Cargo. This format was defined in RFC 1510.

So, in Rust 1.11, Cargo supports cdylib's ! Adding this code to Cargo.toml


 crate-type = ["cdylib"] 

You will receive such a container.


In the standard library, we changed the default hashing function from SipHash 2-4 to SipHash 1-3. We have been thinking about this for a long time, starting from the original decision to use 2-4 :


we offered SipHash-2-4 as a (strong) PRF / MAC, and at the moment no attack was found on it, although many competent people tried to break it. However, a smaller number of rounds may suffice, and I would be very surprised if SipHash-1-3 would be vulnerable when used in hash tables.

Remarks

PRF
MAC


More information about changes in the language as a whole can be found in the release notes.


Library stabilization



See the release notes for details.


Cargo features



See the release notes for details.


Developers version 1.11


In the release of version 1.11, 126 people participated. Thank you very much!


Developer List
  • Aaklo xu
  • Aaronepower
  • Aleksey Kladov
  • Alexander Polyakov
  • Alexander Stocko
  • Alex Burka
  • Alex Crichton
  • Alex Ozdemir
  • Alfie john
  • Amanieu d'anthras
  • Andrea Canciani
  • Andrew Brinker
  • Andrew Paseltiner
  • Andrey Tonkih
  • Andy russell
  • Ariel Ben-Yehuda
  • bors
  • Brian anderson
  • Carlo teubner
  • Carol (Nichols || Goulding)
  • CensoredUsername
  • cgswords
  • cheercroaker
  • Chris Krycho
  • Chris Tomlinson
  • Corey farwell
  • Cristian oliveira
  • Daan sprenkels
  • Daniel Firth
  • diwic
  • Eduard burtescu
  • Eduard-Mihai Burtescu
  • Emilio Cobos Álvarez
  • Erick tryzelaar
  • Esteban Küber
  • Fabian vogt
  • Felix S. Klock II
  • flo-l
  • Florian berger
  • Frank McSherry
  • Georg Brandl
  • ggomez
  • Gleb kozyrev
  • Guillaume gomez
  • Hendrik solich
  • Horace abenga
  • Huon wilson
  • Ivan Shapovalov
  • Jack o'connor
  • Jacob Clark
  • Jake goulding
  • Jakob demler
  • James alan preiss
  • James lucas
  • James miller
  • Jamey sharp
  • Jeffrey seyfried
  • Joachim viide
  • John ericson
  • Jonas schievink
  • Jonathan l
  • Jonathan Price
  • Jonathan turner
  • Joseph dunne
  • Josh stone
  • Jupp muler
  • Kamal Marhubi
  • kennytm
  • Léo Testard
  • Liigo zhuang
  • Loïc damien
  • Luqman Aden
  • Manish goregaokar
  • Mark Côté
  • marudor
  • Masood Malekghassemi
  • Mathieu De Coster
  • Matt kraai
  • Mátyás Mustoha
  • M Farkas-Dyck
  • Michael Necio
  • Michael Rosenberg
  • Michael Woerister
  • Mike hommey
  • Mitsunori Komatsu
  • Morten H. Solvang
  • Ms2ger
  • Nathan moos
  • Nick cameron
  • Nick hamann
  • Nikhil Shagrithaya
  • Niko Matsakis
  • Oliver middleton
  • Oliver schneider
  • Paul jarrett
  • Pavel pravosud
  • Peter Atashian
  • Peter Landoll
  • petevine
  • Reeze xia
  • Scott a carr
  • Sean McArthur
  • Sebastian thiel
  • Seo sanghyeon
  • Simonas kazlauskas
  • Srinivas reddy thatiparthy
  • Stefan schindler
  • Steve klabnik
  • Steven allen
  • Steven burns
  • Tamir bahar
  • Tatsuya kawano
  • Ted mielczarek
  • Tim neumann
  • Tobias bucher
  • Tshepang Lekhonkhobe
  • Ty coghlan
  • Ulrik sverdrup
  • Vadim Petrochenkov
  • Vincent Esche
  • Wangshan Lu
  • Will crichton
  • Without boats
  • Wojciech nawrocki
  • Zack M. Davis
  • 吴 冉波

')

Source: https://habr.com/ru/post/308124/


All Articles