<a href="https://discord.com/invite/MnDA9pfWAW" target="_blank">
<img src="https://img.shields.io/badge/Discord-GossipCoder-%237289DA.svg?logo=iscord&logoColor=white" alt="Discord">
</a>
<a href="https://discord.com/invite/MnDA9pfWAW" target="_blank">
<img src="https://img.shields.io/discord/877031318272217179" alt="Discord">
</a>
<img src="https://visitor-badge.laobi.icu/badge?page_id=better-rs" alt="10000" />
Rust 学习:
| 子项目 | 说明 | 备注 |
|---|---|---|
| rust-by-example | Rust 官方练习代码 | ⭐⭐⭐ |
| basic | Rust 语法练习 | ⭐ |
| rs-leetcode | 使用 Rust 刷题(leetcode) | TODO |
| rs-try | Rust 第三方lib 验证/调研 | ⭐⭐ |
| rs-ffi | Rust + FFI | ⭐⭐⭐ |
| rs-tonic | Rust + gRPC(Tonic) | ⭐⭐⭐ |
| rs-volo | Rust + gRPC(Volo) | ⭐⭐⭐ |
| rs-sql | Rust + sqlx 使用 | ⭐⭐ |
| xxxxxxxxxxxxxx | xxxxxxxxxxxxxxxxxx | xxxxxxxx |
基于 Rust 写的脚本工具和业务系统:
| 子项目 | 说明 | 备注 |
|---|---|---|
| rs-scripts | rust cli 脚本工具: Binance 持币成本计算器 | ⭐⭐⭐⭐⭐ |
| rs-cms | rust 小型 CMS 系统, 小型电商原型 | ⭐⭐⭐ |
| xxxxxxxxxxxxxx | xxxxxxxxxxxxxxxxxx | xxxxxxxxxx |
| xxxxxxxxxxxxxx | xxxxxxxxxxxxxxxxxx | xxxxxxxxxx |
快速安装小工具集:
# cd root directory:
cd learn-rs/
# install:
task scripts:install
rs-scripts v0.1.0 (/better-rs/learn-rs/crates/rs-scripts):
discord-bot
rs-binance
rs-eth-scanner
rs-scripts
rs-tui
-> % rs-binance
binance 0.1.0
A binance CLI
USAGE:
rs-binance <SUBCOMMAND>
OPTIONS:
-h, --help Print help information
-V, --version Print version information
SUBCOMMANDS:
auth auth: get user account data
help Print this message or the help of the given subcommand(s)
market market: get market data

效果:

源码位置:
功能说明:
使用方式:
#
# 项目根目录内执行: (Taskfile.yml 支持嵌套)
#
# 自动计算币安币种的持有成本, 比如 ETH/BTC/DOT
task scripts:run:binance
1.65.0+➤ rustc --version
rustc 1.65.0-nightly (17cbdfd07 2022-09-13)
➤ cargo version
cargo 1.65.0-nightly (646e9a0b9 2022-09-02)
➤ rustup show
Default host: aarch64-apple-darwin
rustup home: /Users/dev/.rustup
installed toolchains
--------------------
stable-aarch64-apple-darwin
nightly-2022-07-31-aarch64-apple-darwin
nightly-aarch64-apple-darwin (default)
1.61.0-aarch64-apple-darwin
active toolchain
----------------
nightly-aarch64-apple-darwin (default)
rustc 1.65.0-nightly (17cbdfd07 2022-09-13)
$ claude mcp add learn-rs \
-- python -m otcore.mcp_server <graph>