资讯详情

【Rust日报】2022-05-19 - Rust 1.61.0 stable 正式发布

Rust 1.61.0 stable 正式发布,快速升级到最新稳定版体验 Rust 给你带来强大的动力 :)

rustup update stable
  • 支持自定义main函数ExitCode

  • const fn增强

  • 为 locked stdio 提供静态句柄

Announcing Rust 1.61.0: https://blog.rust-lang.org/2022/05/19/Rust-1.61.0.html

cmder 旨在提供易用和可扩展性 API,而不牺牲速度和性能。构建器接口的语法借鉴 commander-js 。

let mut program = Program::new();  program     .version("0.1.0")     .description("An example CLI")     .author("Author's name");  program     .subcommand("test")     .argument("<app-name>", "Pass the name of the app to test")     .alias("t")     .description("A test command")     .option("-s --skip", "Skip checking/installing the dependencies")     .option("-p --priority", "The priority to use when testing apps")     .action(|matches| { dbg!(matches); });  // ...  program.parse();

GitHub - ndaba1/cmder:https://github.com/ndaba1/cmder

crates.io - cmder: https://crates.io/crates/cmder

新一期的 Rust 周报快递发布,来看看你关注过什么。 :)

This Week in Rust 443: https://this-week-in-rust.org/blog/2022/05/18/this-week-in-rust-443/


From 日报小组PsiACE

社区学习交流平台订阅:

  • Rust.cc 论坛: 支持 rss

  • 微信公众号:Rust 语言中文社区

标签: 13d1压式传感器

锐单商城拥有海量元器件数据手册IC替代型号,打造 电子元器件IC百科大全!

锐单商城 - 一站式电子元器件采购平台