zl程序教程

您现在的位置是:首页 >  其他

当前栏目

【Rust日报】2022-12-12 Linux 6.1 携带初始Rust代码发布

2023-03-07 09:14:30 时间

Linux 6.1 携带初始 Rust 代码发布

Linus Torvalds 刚刚发布 Linux 6.1为 stable. 该版本中整合了 Rust 语言的初始支持.

原文链接: https://www.phoronix.com/news/Linux-6.1-Released

staff: 一个音乐渲染库

音乐理论和乐谱渲染库, 支持midi,音符,和弦,音阶以及更多。

use staff::{midi, Chord, Pitch};

let chord = Chord::from_midi(
    midi!(C, 4),
    [midi!(E, 3), midi!(G, 3), midi!(C, 4)]
);

assert_eq!(chord.to_string(), "C/E");

let pitches = [Pitch::E, Pitch::G, Pitch::C];
assert!(chord.into_iter().eq(pitches));

原文链接: https://github.com/staff-rs/staff

twitch-tui 2.0.0 发布

twitch-tui 可以让你在命令行中进行 twitch 的聊天.

github地址: https://github.com/Xithrius/twitch-tui