相比其他的 playgroud 最大的优点就是开箱即用,默认支持了超多的 crate,如果想临时体验一下某个库真的非常好用。所有特性:
包含了最常用的1万个crate
设置了 [profile.dev]
用于性能测试
支持连接外网
支持结果保存并再后面的运行中使用(类似 gitlab 的 artifacts)
ReadMore: https://www.rustexplorer.com/
zig 是一门语言,cargo-zigbuild 使用了 ziglang 的链接器来简化跨平台编译的复杂度。安装后用法非常简单,如果没有 c 依赖,直接就可以生成对应平台的代码。
cargo zigbuild --target aarch64-unknown-linux-gnu
ReadMore: https://github.com/messense/cargo-zigbuild
主要用于防止静态字符串在编译后的二进制直接暴漏,如果你有代码保护的需求,可以参考下。
assert_eq!(obfstr::obfstr!("Hello "), "Hello ");
ReadMore: https://github.com/CasualX/obfstr
ReadMore: https://rust-analyzer.github.io/thisweek/2022/06/27/changelog-135.html
ReadMore: https://intellij-rust.github.io/2022/06/27/changelog-173.html
From 日报小组 Koalr
社区学习交流平台订阅:
Rustcc论坛: 支持rss
微信公众号:Rust语言中文社区