@@ -22,14 +22,14 @@ Add RustAPI to your `Cargo.toml`:
2222
2323``` toml
2424[dependencies ]
25- rustapi-rs = " 0.1.275 "
25+ rustapi-rs = " 0.1.300 "
2626```
2727
2828Or with specific features:
2929
3030``` toml
3131[dependencies ]
32- rustapi-rs = { version = " 0.1.275 " , features = [" jwt" , " cors" , " toon" , " ws" , " view" ] }
32+ rustapi-rs = { version = " 0.1.300 " , features = [" jwt" , " cors" , " toon" , " ws" , " view" ] }
3333```
3434
3535### Available Features
@@ -358,7 +358,7 @@ ApiError::internal("message") // 500
358358### CORS
359359
360360``` toml
361- rustapi-rs = { version = " 0.1.275 " , features = [" cors" ] }
361+ rustapi-rs = { version = " 0.1.300 " , features = [" cors" ] }
362362```
363363
364364``` rust
@@ -379,7 +379,7 @@ RustApi::new()
379379### JWT Authentication
380380
381381``` toml
382- rustapi-rs = { version = " 0.1.275 " , features = [" jwt" ] }
382+ rustapi-rs = { version = " 0.1.300 " , features = [" jwt" ] }
383383```
384384
385385``` rust
@@ -409,7 +409,7 @@ async fn protected(user: AuthUser<Claims>) -> Json<Response> {
409409### Rate Limiting
410410
411411``` toml
412- rustapi-rs = { version = " 0.1.275 " , features = [" rate-limit" ] }
412+ rustapi-rs = { version = " 0.1.300 " , features = [" rate-limit" ] }
413413```
414414
415415``` rust
@@ -427,7 +427,7 @@ RustApi::new()
427427## TOON Format (LLM Optimization)
428428
429429``` toml
430- rustapi-rs = { version = " 0.1.275 " , features = [" toon" ] }
430+ rustapi-rs = { version = " 0.1.300 " , features = [" toon" ] }
431431```
432432
433433``` rust
@@ -458,7 +458,7 @@ Response includes token counting headers:
458458Real-time bidirectional communication:
459459
460460``` toml
461- rustapi-rs = { version = " 0.1.275 " , features = [" ws" ] }
461+ rustapi-rs = { version = " 0.1.300 " , features = [" ws" ] }
462462```
463463
464464``` rust
@@ -495,7 +495,7 @@ websocat ws://localhost:8080/ws
495495Server-side HTML rendering with Tera:
496496
497497``` toml
498- rustapi-rs = { version = " 0.1.275 " , features = [" view" ] }
498+ rustapi-rs = { version = " 0.1.300 " , features = [" view" ] }
499499```
500500
501501Create a template file ` templates/index.html ` :
@@ -697,7 +697,7 @@ struct AnyBody { ... }
697697Check that the ` swagger-ui ` feature is enabled (it's on by default):
698698
699699``` toml
700- rustapi-rs = { version = " 0.1.275 " , features = [" swagger-ui" ] }
700+ rustapi-rs = { version = " 0.1.300 " , features = [" swagger-ui" ] }
701701```
702702
703703### CLI Commands Not Working
0 commit comments