一个用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
一个模块化的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
NativeScript是GDNative的一个扩展,它允许动态库向Godot注册脚本,
Repo:https://github.com/GodotNativeTools/godot-rust
它是一个用于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
From 日报小组 月泉
日报订阅地址:
独立日报订阅地址:
Telgram Channel
阿里云语雀订阅
Steemit
GitHub
社区学习交流平台订阅:
Rust.cc 论坛: 支持 rss
Rust Force: 支持 rss
微信公众号:Rust 语言学习交流
原文作者:Rust语言中文社区;如有侵权,请联系管理员删除。