【Rust 日报】2021-11-21 The RustFest Global - Rust in Arts
RustFest Global 2021:Rust In Arts Edition
日程:(https://rustfest.global/schedule/
地址:https://watch.rustfest.global/
pigeon-rs:电子邮件自动化工具
Pigeon 是一种命令行工具,用于以廉价且高效的方式自动化电子邮件工作流程。
比如,查询时事通讯的订阅者并向他们发送电子邮件:
pigeon send-bulk
sender@your-domain.com
--receiver-query "select email from user where newsletter_confirmed = true"
--message-file "message.yaml"
--display
--assume-yes
结果如下:
> Display query result: shape: (4, 1)
+------------------------------+
| email |
| --- |
| str |
+==============================+
| "marie@curie.com" |
+------------------------------+
| "alexandre@grothendieck.com" |
+------------------------------+
| "emmy@noether.com" |
+------------------------------+
| "elie@cartan.com" |
+------------------------------+
> Sending email to 4 receivers ...
marie@curie.com ... ok
alexandre@grothendieck.com ... ok
emmy@noether.com ... ok
elie@cartan.com ... ok
Massage 配置文件格式如下:
# You can leave EITHER the text OR the html empty, but not both. Ideally, fill out both.
# You MUST provide a subject. Personalize message by wrapping variables in curly brackets, eg. {firstname}.
message:
# The subject of your email
subject: "Test subject"
# The plaintext version
text: "This is a test message (plaintext)."
# The html version
html: "This is a test message (html)."
GitHub:https://github.com/quambene/pigeon-rs
Top10 Cargo 命令
cargo install [options] crate...
cargo uninstall [options] [spec...]
cargo tree [options]
cargo search [options] [query...]
cargo edit
cargo +nightly udeps
cargo expand
cargo tarpaulin
cargo audit
cargo deny
链接:https://dev.to/davidadewoyin/top-rust-cargo-commands-2b70
Rust WebAPP 监控
使用 Prometheus 和 Grafana 监控 Rust Web 应用程序。
链接:https://romankudryashov.com/blog/2021/11/monitoring-rust-web-application/
如何为嵌入式系统学习 Rust
也包含了一些 Rust 的学习资源。
链接:https://www.embeddedrelated.com/showarticle/1432.php
RustSBI-Nezha项目已经可以在oreboot引导链中使用
oreboot是类似于coreboot的引导程序项目,而RustSBI是适用于RISC-V的引导程序环境,这两者都是纯粹由rust编写的嵌入式应用程序。
经过社区成员@OrangeCMS和贡献者们的进一步适配,RustSBI-Nezha现在能在oreboot引导链中能正常运行。图片的控制台输出显示,引导链在初始化DDR内存后,能够做到M态的陷入处理,随后进入下一步的系统启动过程。这项适配工作意味着,oreboot和RustSBI-Nezha提供了一种启动Linux系统可用的新引导途径。
RustSBI-Nezha项目是湖南农业大学的杨云枫同学、天津科技大学的王涛同学和队友们在暑假的“2021年开源操作系统夏令营”活动中发起的开源项目。
项目分支地址:https://github.com/orangecms/rustsbi-nezha/tree/rustsbi-nezha
推文链接:https://twitter.com/OrangeCMS/status/1462197961606246403?t=_n8beWS2OFhygZ9CWdrwiA&s=19
文章推荐
- 测试 Trait 的多个 implementation:https://eli.thegreenplace.net/2021/testing-multiple-implementations-of-a-trait-in-rust/
- 循环引用数据结构:https://eli.thegreenplace.net/2021/rust-data-structures-with-circular-references/
- Rust 安全相关:https://kerkour.com/rust-crate-backdoor/
相关文章
- Linux 超级漂亮的 Shell
- 微软 Windows 11 文件资源管理器标签页回归:还支持快速排序,如同 Edge 浏览器般简单易用
- Samba 4.16 发布,轻松在Linux和Windows共享文件
- 如何在 Linux 中恢复已删除的文件
- 一文搞懂 Linux 时间子系统
- 11 款可替代 top 命令的工具!
- Openharmony 添加内核驱动(L1)
- OpenHarmony啃论文俱乐部—轻翻那些永垂不朽的诗篇
- OpenHarmony AI推理任务管理与统一推理接口介绍
- 快速关闭电脑的捷径,在Windows 11桌面上添加关机快捷方式
- 从 Ubuntu 22.04 开始,Firefox 将只提供 snap 包
- 格式化 Shell 脚本利器,轻松理解复杂代码
- Shell 教程:编写 BASH 'for'循环的正确姿势
- 如何双启动 Fedora 和 Windows
- Mozilla 正式推出开发者订阅服务 MDN Plus
- Fuchsia OS 负责人离职,为项目未来蒙上阴影
- 用 Skanlite 在 Linux 上扫描文件和老照片
- 盘点 Chrome 插件开发中那些关键的点!
- Clear Linux 是首个提供 GNOME 42 的发行版
- Windows 10一功能,能让机械硬盘“翻身”成SSD!不信就来试试?