kanarus

Results 20 comments of kanarus

## builtin fangs - `JWT` -> `Jwt` - `CORS` -> `Cors`

## builtin formats - `JSON` -> `Json` - `HTML` -> `Html` - `URLEncoded` -> `UrlEncoded`

## openapi - `security::APIKey` -> `security::ApiKey` - `security::OAuthFlow` -> `OauthFlow`

## header `.PascalCase()` -> `.snake_case()`

https://developers.cloudflare.com/sandbox/get-started seems helpful to understand how/what to support

Yes, I agree. This is planned in v0.25

too different interface from supported native runtimes ( tokio, smol, nio, glommio )

Let's wait for support on `worker` crate

tried running with `--features DEBUG` and processed (reordered lines) the logs after Ctrl-C for analysis: ```stdout [ohkami:DEBUG] /home/kanarus/projects/ohkami-rs/ohkami/ohkami/src/ohkami/mod.rs:1034:37 [CtrlC::catch] Ready [ohkami:DEBUG] /home/kanarus/projects/ohkami-rs/ohkami/ohkami/src/ohkami/mod.rs:1034:37 [CtrlC::catch] Ready [ohkami:DEBUG] /home/kanarus/projects/ohkami-rs/ohkami/ohkami/src/ohkami/mod.rs:1034:37 [CtrlC::catch] Ready [ohkami:DEBUG] /home/kanarus/projects/ohkami-rs/ohkami/ohkami/src/ohkami/mod.rs:1034:37...

one option will be: make `Context` struct just an extractor of `Request.context`, and introduce `State` struct for app's global state