你好,欢迎再来一期本周的螃蟹行情!Rust是一种追求三位一体的系统语言:安全性、并发性和速度。这是它的进展和社区的每周总结。有什么要说的吗?推特@ThisWeekInRust或向我们发送请求。 想参与吗?我们热爱贡献.
这本周的螃蟹行情是在在 Github 上公开的。如果你在本周的问题中发现任何错误,请提交 PR。
本周没有时事通讯或研究文章。
本周的箱子是serde-encrypt, 一个,为所有的Serialize实现,添加‘加密’的库
谢谢Sho Nakatani提名。
Submit your suggestions and votes for next week!
一直想为开源项目做贡献但不知道从哪里开始?每周我们都会重点介绍来自 Rust 社区的一些任务,供您挑选并开始使用!
其中一些任务可能还有可用的导师,请访问任务页面了解更多信息。
如果您是 Rust 项目所有者并且正在寻找贡献者,请提交任务here.
301 个拉取请求是merged in the last week
AttrVec for Arm, FieldDef, and Variantpartition_point to look up assoc itemsUNUSED_MUST_USE#[no_mangle]/#[export_name = ...] function has the same symbol name as a built-in shimspan_open() and span_close()ops::ControlFlow (just the type)Duration::try_from_secs_{f32, `f64'}io::Bytes::size_hint for more typesEq implementation for pathsbinary_search_by and partition_pointstream::select_with_strategy#[doc(keyword = "...")] on non-itemswrong_pub_self_convention lintmacro_braces lint to check for irregular brace use in certain macrosdoc_markdown lintfrom-iter-instead-of-collect to pedantic在较小的基准测试(例如 helloworld)上的一些小退步,可能集中在少数情况下,生成更多 IR。
分流完成 @simulacrum.修订范围:d192c80..3912083
2 个退步,1 个改进,0 个混合;其中 1 个在汇总中
Rust 的变化遵循 RustRFC (request for comments) process.这些是本周批准实施的 RFC:
每周the team宣布正在达成决定的 RFC 和关键 PR 的“最终评论期”。现在就发表你的意见。
最后,我可以适当地命名我的不安全函数。
unsafe fn e͙̤͎̪͒x̲͓̞̤͍̻̺̂͗͛͆͡t̜̣͊̓ͩ̍̑e̩͖͙͎̼̖͉ͮṇ̨͖̎̓ͅd̗̼͕ͫ̅_̲̦̥̙̙͍͂́l͙͙̦̞̠̃͌͒i̹̘͍̳̊ͪͦͤ͒̊͋f̨ͥ̄̌ḛ̜͗̉̃̎̂̔̐t̩̲̘͕͉̺̫̓͗́i̹̤̭ͭ͆̔ͪͤ͢m̹̤̜̗̫̩͍ͨe̝͒ͣ<'b>(r: R<'b>) -> R<'static>
Thanks to Vincent de Phily for the suggestion!
Please submit quotes and vote for next week!
This Week in Rust is edited by: nellshamrell, llogiq, and cdmistman.