# rust-example **Repository Path**: JanKinCai/rust-example ## Basic Information - **Project Name**: rust-example - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-01-19 - **Last Updated**: 2024-01-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Rust Example Rust新手学习笔记,主要记录一些常见的编程例子和Rust库的基本使用 ## 基本例子 - [x] [文件操作](./base-example/src/file_example.rs) - [x] [Vec](./base-example/src/vec_example.rs) ## 序列化和反序列化例子 - [x] [serde-example](./serde/serde-example/src/) - [x] [bincode-example](./serde/bincode-example/src/) ## 线程和进程例子 ## Rust标注库例子 ### collections - [x] [hashmap-example](./hashmap-example/) - [x] [hashset-example](./hashset-example/) - [x] [binaryheap-example](./binaryheap-example/) - [x] [timer-example](./timer-example/) ## Rust第三方库例子 ### 常见库例子 - [x] [ctor-example](./lib/ctor-example/): main函数之前和之后运行 - [x] [deb-example](./lib/deb-example/): deb打包例子 - [x] [notify-example](./lib//notify-example/) - [x] [systemstat-example](./lib/systemstat-example/) - [x] [tracing-example](./lib/tracing-example/) ### 网络编程例子 - [x] [tonic-example](./newwork/network-example/tonic-example/): RPC通信 - [x] [redis-exampe](./newwork/redis-example/): Redis简单使用例子,包含断开连接重连 ## 异步编程例子 - TODO ## 原子编程例子 - TODO ## 宏例子 - [x] [jkcenum](https://github.com/caizhengxin/jkcenum) ## 跨语言互操作 - [x] [libpcap-rs](./ffi/libpcap-rs/): Rust访问C库例子 - [x] [jankincai-ffi](./ffi/jankincai-ffi/): Rust访问C代码例子 - [ ] C访问Rust代码例子