【Rust日报】2020-11-22 Vec即将支持自定义的内存分配器

Vec即将支持自定义的内存分配器

#rust
为Vec支持自定义内存分配器的PR已经被合并。
Read More: https://github.com/rust-lang/rust/pull/78461

cargo-bom 一个收集依赖License的命令行工具

#rust
   
$ cargo bom > BOM.txt
$ head BOM.txt
Name | Version | Licenses
---- | ------- | --------
cargo | 0.35.0 | Apache-2.0, MIT
failure | 0.1.5 | Apache-2.0, MIT
structopt | 0.2.15 | Apache-2.0, MIT
tabwriter | 1.1.0 | MIT, Unlicense

-----BEGIN cargo 0.35.0 LICENSES-----
The Cargo source code itself does not bundle any third party libraries, but it
depends on a number of libraries which carry their own copyright notices and
Repo: https://crates.io/crates/cargo-bom

使用wasm实现vim编辑器

#rust
几乎含有全部的vim特性,文本对象、语法高亮、vim脚本等等,还有最新的特性"弹出窗口“,附在线演示地址。
Read More: Vim.Wasm (rhysd.github.io)

websocat

#cli
Websocat 是一个用于websocket的Netcat、curl、socat工具。
Examples:
  • 连结一个公众的echo服务  websocat ws://echo.websocket.org
  • 运行一个服务  websocat -s 1234
  • 在chromium中打开一个远程调试工具
  • 后台代理TCP到websocket
  • 在全部websocket客户端广播信息
Repo: https://www.github.com/vi/websocat

从Javascript到WebAseembly

#rust
本文介绍了从升级仅Micrio JavaScript客户端到使用WebAssembly的过程,但愿可以提升性能并将代码提升到一个新的水平。

Read More: https://engineering.q42.nl/webassembly/git


From 日报小组 李冬杰
社区学习交流平台订阅:
  • Rustcc 论坛: 支持 rss
  • 微信公众号:Rust语言中文社区

本文分享自微信公众号 - Rust语言中文社区(rust-china)。
若有侵权,请联系 support@oschina.cn 删除。
本文参与“OSC源创计划”,欢迎正在阅读的你也加入,一块儿分享。github

相关文章
相关标签/搜索