ITPub博客

首页 > 数据库 > 数据库开发技术 > 【Rust日报】2022-06-28 RustExplorer - 自带10000个crate的Rust在线运行环境

【Rust日报】2022-06-28 RustExplorer - 自带10000个crate的Rust在线运行环境

原创 数据库开发技术 作者:Rust语言中文社区 时间:2022-06-28 23:50:36 0 删除 编辑

RustExplorer 自带10000个crate的Rust在线运行环境

相比其他的 playgroud 最大的优点就是开箱即用,默认支持了超多的 crate,如果想临时体验一下某个库真的非常好用。所有特性:
  • 包含了最常用的1万个crate
  • 设置了 [profile.dev] 用于性能测试
  • 支持连接外网
  • 支持结果保存并再后面的运行中使用(类似 gitlab 的 artifacts)
ReadMore: https://www.rustexplorer.com/

cargo-zigbuild 使用 zigbuild 来简化跨平台编译

zig 是一门语言,cargo-zigbuild 使用了 ziglang 的链接器来简化跨平台编译的复杂度。安装后用法非常简单,如果没有 c 依赖,直接就可以生成对应平台的代码。
cargo zigbuild --target aarch64-unknown-linux-gnu
ReadMore: https://github.com/messense/cargo-zigbuild

obfstr 一个编译时进行字符串混淆的库

主要用于防止静态字符串在编译后的二进制直接暴漏,如果你有代码保护的需求,可以参考下。
assert_eq!(obfstr::obfstr!("Hello 🌍"), "Hello 🌍");
ReadMore: https://github.com/CasualX/obfstr

rust-analyzer 更新日志 #135

ReadMore: https://rust-analyzer.github.io/thisweek/2022/06/27/changelog-135.html

intellij-rust 更新日志 #173

ReadMore: https://intellij-rust.github.io/2022/06/27/changelog-173.html

From 日报小组 Koalr

社区学习交流平台订阅:
  • Rustcc论坛: 支持rss
  • 微信公众号:Rust语言中文社区

原文作者:Rust语言中文社区;如有侵权,请联系管理员删除。

请登录后发表评论 登录
全部评论

注册时间:2020-06-11

  • 博文量
    1769
  • 访问量
    718769