上一页 1 2 3 4 5 6 7 8 9 10 ··· 119 下一页
摘要: 环境 Time 2022-12-11 WSL-Ubuntu 22.04 Rust 1.65.0 前言 说明 参考:https://github.com/pingcap/talent-plan 目标 在上一节的基础上,新增日志操作模块,将操作命令转为 JSON。 Cargo.toml [package 阅读全文
posted @ 2025-10-27 10:33 jiangbo4444 阅读(5) 评论(0) 推荐(0)
摘要: 环境 Time 2022-12-11 WSL-Ubuntu 22.04 Rust 1.65.0 前言 说明 参考:https://github.com/pingcap/talent-plan 目标 在上一节的基础上,将 set 和 remove 操作封装为单独的命令,并转为 JSON。 Cargo. 阅读全文
posted @ 2025-10-27 10:32 jiangbo4444 阅读(2) 评论(0) 推荐(0)
摘要: 环境 Time 2022-12-11 WSL-Ubuntu 22.04 Rust 1.65.0 前言 说明 参考:https://github.com/pingcap/talent-plan 目标 在上一节的基础上,创建一个命令行程序来操作键值存储。 Cargo.toml [package] edi 阅读全文
posted @ 2025-10-27 10:32 jiangbo4444 阅读(3) 评论(0) 推荐(0)
摘要: 环境 Time 2022-12-11 WSL-Ubuntu 22.04 Rust 1.65.0 前言 说明 参考:https://github.com/pingcap/talent-plan 目标 KVS 的意思是 KEY VALUE STORE,创建一个使用内存进行存储的程序。 Cargo.tom 阅读全文
posted @ 2025-10-27 10:32 jiangbo4444 阅读(2) 评论(0) 推荐(0)
摘要: 环境 Time 2022-12-11 WSL-Ubuntu 22.04 tonic 0.8 前言 说明 参考:https://github.com/hyperium/tonic/tree/master/examples/src/helloworld 目标 在上一节的基础上,增加 RPC 调用,编写客 阅读全文
posted @ 2025-10-24 17:45 jiangbo4444 阅读(5) 评论(0) 推荐(0)
摘要: 环境 Time 2022-12-11 WSL-Ubuntu 22.04 tonic 0.8 前言 说明 参考:https://github.com/hyperium/tonic/tree/master/examples/src/helloworld 目标 在上一节的基础上,增加 RPC 调用,编写服 阅读全文
posted @ 2025-10-24 17:44 jiangbo4444 阅读(8) 评论(0) 推荐(0)
摘要: 环境 Time 2022-12-11 WSL-Ubuntu 22.04 tonic 0.8 前言 说明 参考:https://github.com/hyperium/tonic/tree/master/examples/src/helloworld 目标 使用 tonic 来处理 protobuf 阅读全文
posted @ 2025-10-24 17:44 jiangbo4444 阅读(4) 评论(0) 推荐(0)
摘要: 环境 Time 2022-12-10 WSL-Ubuntu 22.04 prost 0.11 前言 说明 参考:https://docs.rs/prost-build/latest/prost_build/ 目标 使用 prost 来处理 JSON 的派生。 user.proto 文件 syntax 阅读全文
posted @ 2025-10-24 17:44 jiangbo4444 阅读(5) 评论(0) 推荐(0)
摘要: 环境 Time 2022-12-10 WSL-Ubuntu 22.04 prost 0.11 前言 说明 参考:https://docs.rs/prost-build/latest/prost_build/ 目标 在前一节的基础上,使用 prost 进行带长度的编解码。 user.proto 文件 阅读全文
posted @ 2025-10-24 17:44 jiangbo4444 阅读(4) 评论(0) 推荐(0)
摘要: 环境 Time 2022-12-10 WSL-Ubuntu 22.04 prost 0.11 前言 说明 参考:https://docs.rs/prost-build/latest/prost_build/ 目标 在前一节的基础上,使用 prost 进行解码。 user.proto 文件 synta 阅读全文
posted @ 2025-10-24 17:43 jiangbo4444 阅读(3) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 119 下一页