[new ver] ratatui v0.26.3
一個構建終端用戶界面的庫。新版本包括:
修復Unicode 截斷 bug
對顏色更好地序列化
更快的渲染
棄用
assert_buffer_eq
宏暴露錯誤類型
常量函數和類型
官網: https://ratatui.rs/
鏈接: https://ratatui.rs/highlights/v0263/
[new lib] ansi2
一個將 ANSI 字符串轉換為 HTML 和 SVG 的庫。
ansi2
use?ansi2::{Canvas};let?canvas?=?Canvas::new(s);
for?row?in?canvas.pixels.iter()?{for?pixel?in?row.iter()?{//?draw?pixel}
}
ansi2-wasm
npm?i?ansi2?-gneofetch?|?ansi2?--format=svg?--theme=vscode?>?./neofetch.svg
ansi2html
cargo?install?ansi2htmlneofetch?|?ansi2html?>?neofetch.html
ansi2svg
cargo?install?ansi2svgneofetch?|?ansi2svg?>?neofetch.svg
GitHub: https://github.com/ahaoboy/ansi2
[new lib] arduino-plotter
用于與 Arduino 串行繪圖儀通信的協議庫和 CLI。
GitHub: https://github.com/LechevSpace/arduino-plotter
[new lib] bul
Kubernetes 的交互式容器日志資源管理器。
#?安裝
brew?install?ynqa/tap/bul
#?使用
Usage:?bul?[OPTIONS]Options:--context?<CONTEXT>Kubernetes?context.-n,?--namespace?<NAMESPACE>Kubernetes?namespace.-p,?--pod-query?<POD_QUERY>query?to?filter?Pods.--container-states?<CONTAINER_STATUS>Container?states?to?filter?containers.?[default:?all]?[possible?values:?all,?running,?terminated,?waiting]--log-retrieval-timeout?<LOG_RETRIEVAL_TIMEOUT_MILLIS>Timeout?to?read?a?next?line?from?the?log?stream?in?milliseconds.?[default:?100]--render-interval?<RENDER_INTERVAL_MILLIS>Interval?to?render?a?log?line?in?milliseconds.?[default:?10]-q,?--queue-capacity?<QUEUE_CAPACITY>Queue?capacity?to?store?the?logs.?[default:?1000]-h,?--helpPrint?help?(see?more?with?'--help')
GitHub; https://github.com/ynqa/bul
[new lib] capitalist-chess
國際象棋變體引擎,增加了銀行和市場。
GitHub: https://github.com/adam-mcdaniel/capitalist-chess
From 日報小組 長琴
社區學習交流平臺訂閱:
Rustcc 論壇:支持 rss
微信公眾號:Rust 語言中文社區