0
点赞
收藏
分享

微信扫一扫

【Rust日报】2020-06-16 - Rust和WebAssembly多线程系统库

Rust语言实现网页分析器


A simple web analytics in Rust

​​https://github.com/kooparse/bast​​


Rust语言实现网页分析器,生成网站流量简明报告。

Rust和WebAssembly多线程系统库


A multithreading library for Rust and WebAssembly

​​https://github.com/w3reality/wasm-mt​​


A multithreading library for Rust and WebAssembly. Rust和WebAssembly多线程系统库。

用Rust语言清除Gitignored垃圾


Using Rust to Delete Gitignored Cruft

​​https://www.forrestthewoods.com/blog/using-rust-to-delete-gitignored-cruft/​​


native-dialog - 跨平台文件选取器和消息框开发库

native-dialog - A cross-platform file picker and message box library.​​https://github.com/balthild/native-dialog-rs​​

native-dialog显示文件选取器和消息框,目前支持GNU/Linux, MacOS和Windows。

安装:


cargo add native-dialog

用法:


cargo add native-dialoguse native_dialog::*;


let dialog = OpenMultipleFile {
dir: None,
filter: None,
};
let result = dialog.show().unwrap();


let message = format!("{:?}", result);


let dialog = MessageConfirm {
title: "Do you want to open these files?",
text: &message,
typ: MessageType::Info,
};
let result = dialog.show().unwrap();


assert_eq!(result, true);

Ropey 1.2 - 一个rust语言可编程文本编辑缓存


Ropey 1.2 - an editable text buffer for Rust

​​https://crates.io/crates/ropey/1.2.0​​


Ropey是rust语言的UTF8文本利器,是设计来支持文本缓存用到的类似文本编辑器这样的应用的。Ropey是快速,高效, 稳健的能处理大量的文本编辑特性造成的内存相对支离破碎的文本处理编辑器。



举报

相关推荐

0 条评论