2021.06.04 晚上20:00 ~ 22:00,RustFriday 飞书群线上沙龙 第十期
讨论主题:
回放地址:https://rust-lang.feishu.cn/minutes/obcn9px11as3unk4913ra9x9
Thruster,一个旨在让开发者在项目和团队之间保持高效一致的快速、直观的 Rust Web 框架。
v1.1.2版本的一些亮点:
在生产中使用 Thruster 的一些有趣指标:
版本详情参见Release,https://github.com/thruster-rs/Thruster/blob/master/RELEASE.md
Crusty,一个快速,可扩展,礼貌性的通用网络爬虫(Broad Web Crawler)。Crusty 旨在:
Github 链接,https://github.com/let4be/crusty
init-array,一个按项(item-wise)初始化数组的crate。
示例:
use init_array::*;
let arr = init_array(|i| i * i);
assert_eq!(arr, [0, 1, 4, 9, 16]);
let arr = init_boxed_array(|i| i * i);
assert_eq!(arr, Box::new([0, 1, 4, 9, 16]));
let arr = init_boxed_slice(5, |i| i * i);
assert_eq!(&*arr, &[0, 1, 4, 9, 16]);
let mut state = 0;
let arr = init_array(move |i| {
state += i + 1;
state
});
assert_eq!(arr, [1, 3, 6, 10, 15, 21, 28, 36, 45, 55]);
Github链接,https://github.com/Sp00ph/init_array
From 日报小组 洋芋
社区学习交流平台订阅: