neqo - 一個用Rust編寫的QUIC實作
一個用Rust編寫的QUIC實作
運作測試http 0.9程式(neqm -client和neqm -server)
-
cargo build
-
./target/debug/neqo-server 12345 -k key --db ./test-fixture/db
-
./target/debug/neqo-client http://127.0.0.1:12345/ -o --db ./test-fixture/db
運作測試http3程式(neqm -client和neqm -http3-server)
-
cargo build
-
./target/debug/neqo-http3-server [::]:12345 --db ./test-fixture/db
-
./target/debug/neqo-client http://127.0.0.1:12345/ --db ./test-fixture/db
Repo:https://github.com/mozilla/neqo
tide - 授權每個人建構HTTP服務
一個子產品化的Web架構圍繞
async/await
進行建構,它是由Rust Async生态系統工作組積極開發的,目前還沒有準備好投入生産使用
使用案例
fn main() -> Result<(), std::io::Error> {
let mut app = tide::App::new();
app.at("/").get(|_| async move { "Hello, world!" });
Ok(app.run("127.0.0.1:8000")?)
}
Repo:https://github.com/rustasync/tide
godot-rust - Rust綁定Godot遊戲引擎
NativeScript是GDNative的一個擴充,它允許動态庫向Godot注冊腳本,
Repo:https://github.com/GodotNativeTools/godot-rust
blend - .blend檔案的解析器和運作時
它是一個用于Blender解析.blend檔案的庫 使用案例
use blend::Blend;
/// Prints the name and position of every object
fn main() {
let blend = Blend::from_path("file.blend");
for obj in blend.get_by_code(*b"OB") {
let loc = obj.get_f32_vec("loc");
let name = obj.get("id").get_string("name");
println!("\"{}\" at {:?}", name, loc);
}
}
Repo:https://github.com/lukebitts/blend
日報訂閱位址:
- Telgram Channel
- 阿裡雲語雀訂閱
- Steemit
- GitHub
- Rust.cc 論壇: 支援 rss
- Rust Force: 支援 rss
- 微信公衆号:Rust 語言學習交流