2023-02-01
本文由 ChatGPT(gpt-3.5-turbo-1106) 翻译。
欢迎阅读本期 Rust 本周动态! Rust 是一种使每个人都能构建可靠且高效软件的编程语言。本周动态是 Rust 编程语言进展和社区活动的每周总结。 想要某事被提及?在 Twitter 上标记我们 @ThisWeekInRust 或者在 mastodon.social 上标记 @ThisWeekinRust,或者给我们发送一个 pull request。 想要参与其中?我们欢迎您的贡献。
This Week in Rust 是在 GitHub 开放开发的。如果您发现本周动态中的任何错误,请提交一个 PR。
async-io-typed 和 async-io-converse 管理原始 I/O 流的复杂通信本周的最佳 Crate 是 symphonia,这是一个使用纯 Rust 编写的音频解码器集合,支持多种常见格式。
特别感谢 Kornel 的推荐!
一直想为开源项目做贡献,但不知道从哪里开始吗? 我们每周都会突出 Rust 社区中的一些任务供你选择并开始!
其中一些任务可能会有导师可用,请访问任务页面了解更多信息。
如果你是 Rust 项目的所有者,正在寻找贡献者,请在这里提交任务。
上周共合并了 377 个拉取请求merged
format_args!() 移入 AST(在 AST 降级期间扩展)proc_macro::LineColumn 实现了 Hashlet..else 块中的 if 语句ascribe_user_type 中已完全规范化ConstGoto 优化Cell 和 UnsafeCell 实现 DispatchFromDynCopyPropagationdrop_tracking_mir 模式下计算 mir_generator_witnesses 查询SsaLocals 重新实现 NormalizeArrayLenPartialOrd?对Result进行强制转换*Cell: Sync边界使用锁can_eq来比较类型以获取默认关联类型错误InferCtxtmpsc::SyncSender中的乐观自旋const_socketaddr特性cargo add 检查 [dependencies] 顺序时,未考虑点分隔项future_incompat 警告publish.timeout 文档中提及当前默认值get_all_import_attributes 函数中的无限循环问题 (https://github.com/rust-lang/rust/pull/107357)invalid_regex: 当字符串值与源不匹配时显示完整错误 (https://github.com/rust-lang/rust-clippy/pull/10231)multiple_unsafe_ops_per_block: 不在外部宏中进行 lint (https://github.com/rust-lang/rust-clippy/pull/10260)module_name_repetitions 的跨度 (https://github.com/rust-lang/rust-clippy/pull/10226)len_without_is_empty 在除了 &self 之外带有参数的情况下触发 (https://github.com/rust-lang/rust-clippy/pull/10255)2023年2月1日至2023年3月1日之间的 Rust 事件 🦀
如果您正在举办 Rust 活动,请将其添加到[日历]中,以便在此处提及。请记得添加活动链接。发送电子邮件给Rust 社区团队以获取访问权限。
请查看最新的 r/rust 招聘帖子。
编译器是一个报告错误的工具,兼职是一个生成代码的工具。
– Esteban Küber 在 Hacker News 上
感谢 Stefan Majewsky 的建议!
本周 Rust 新闻编辑:nellshamrell, llogiq, cdmistman, ericseppanen, extrawurst, andrewpollack, U007D, kolharsam, joelmarcey, mariannegoldin, bennyvasquez.
电子邮件列表由 Rust 基金会 赞助