現在內建的crate doc可以快速指向官網
Read more
rust-phf v0.8.0
這是一個使用hash並在編譯時生成查表的庫。
use phf::phf_map;
#[derive(Clone)]
pub enum Keyword {
Loop,
Continue,
Break,
Fn,
Extern,
}
static KEYWORDS: phf::Map<&'static str, Keyword> = phf_map! {
"loop" => Keyword::Loop,
"continue" => Keyword::Continue,
"break" => Keyword::Break,
"fn" => Keyword::Fn,
"extern" => Keyword::Extern,
};
pub fn parse_keyword(keyword: &str) -> Option<Keyword> {
KEYWORDS.get(keyword).cloned()
}
Read more
Lemmy
使用rust寫的一個Reddit like的網站框架
Read more
kubernix
啟動 5個 node Kubernetes 的 cluster 只要40秒
Read more reddit
中學的機器人課,rust線上文件
Read more hardware
xtask
這是一個rustc的腳本
在 .cargo/config 寫下你的指令
[alias]
xtask = "run --manifest-path ./xtask/Cargo.toml --"
然後 cargo xtask task-name
Read more
Unveiling ram - 一個 openapi code 產生器
給喜歡openapi的朋友
Read more
日报订阅地址:
独立日报订阅地址:
- Telgram Channel
- 阿里云语雀订阅
- Steemit
- GitHub
社区学习交流平台订阅:
- Rust.cc论坛: 支持rss
- Rust Force: 支持rss
- 微信公众号:Rust语言学习交流