Skip to content

Commit 84a82d3

Browse files
CopilotTuntii
andcommitted
Align dependency docs with changelog
Co-authored-by: Tuntii <121901995+Tuntii@users.noreply.github.com>
1 parent a70333e commit 84a82d3

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

docs/PHILOSOPHY.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ validator = "0.16"
9696
|-----------|----------------|--------------|
9797
| HTTP Server | `hyper 1.x` | `hyper 2.x`, `h3` (HTTP/3) |
9898
| Async Runtime | `tokio` | `smol`, `async-std` (future) |
99-
| Validation | `validator` | Custom engine (planned for v1.0) |
99+
| Validation | `rustapi-validate` | Custom engine (available) |
100100
| Router | `matchit` | Custom radix tree |
101101
| OpenAPI | `utoipa` | Native implementation |
102102

@@ -114,7 +114,6 @@ RustAPI already hides external crates behind internal adapters. To reduce depend
114114
3. Ship replacements behind feature flags, then flip defaults.
115115

116116
Good candidates for in-house implementations:
117-
- Validation (`validator`) → native validation engine (already planned).
118117
- Router (`matchit`) → internal radix tree with RustAPI-specific optimizations.
119118
- OpenAPI (`utoipa`) → native schema generator to control outputs.
120119
- TOON format (`toon-format`) → move core format logic into `rustapi-toon`.

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ RustAPI is an ergonomic web framework for Rust, inspired by FastAPI's developer
2626

2727
> *"API surface is ours, engines can change."*
2828
29-
RustAPI provides a stable, ergonomic public API. Internal dependencies (`hyper`, `tokio`, `validator`) are implementation details that can be upgraded without breaking your code.
29+
RustAPI provides a stable, ergonomic public API. Internal dependencies (e.g., `hyper`, `tokio`, `matchit`) are implementation details that can be upgraded without breaking your code.
3030

3131
### External Dependency Plan
3232

33-
To reduce external dependency debt (bağımlılık borcu), we prioritize replacing crates with stable specs and small surfaces, while keeping the public API unchanged. Candidate areas for RustAPI-owned implementations are validation, routing, OpenAPI generation, and the TOON format. Foundational runtime and HTTP crates (`tokio`, `hyper`, `tower`) remain external for stability and security.
33+
To reduce external dependency debt, we prioritize replacing crates with stable specs and small surfaces, while keeping the public API unchanged. Validation already uses the native `rustapi-validate` engine; candidates for further RustAPI-owned implementations are routing, OpenAPI generation, the TOON format, and template rendering. Foundational runtime and HTTP crates (`tokio`, `hyper`, `tower`) remain external for stability and security.
3434

3535
## Getting Started
3636

0 commit comments

Comments
 (0)