Files
mock-server/README.md
CNWei e9a271bb36 init: 初始化mock-server项目
- 搭建Rust项目基础结构(src/mocks目录、核心模块空文件)
- 配置Cargo.toml核心依赖(Axum/Tokio/Serde等)
- 添加.gitignore和README初始文件
- 适配Rust开发环境基础配置

项目说明:
- 名称:mock-server | 描述:Rust/Axum配置驱动Mock服务 | 环境:Rust 1.70+
- 下一步:完善文档、补充核心业务逻辑、配置CI/CD"
2025-12-25 16:24:00 +08:00

11 lines
477 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# mock-server
基于Rust/Axum的配置驱动型Mock服务支持YAML配置、请求匹配、延迟响应、大文件流式返回等特性。
## 特性
- 配置驱动YAML定义API行为无需修改代码
- 高性能基于Rust异步运行时哈希索引匹配请求
- 低内存:大响应体支持磁盘文件流式读取,不占用常驻内存
- 易扩展:模块化设计,支持动态占位符、热加载(规划中)
## 快速开始
### 1. 安装依赖