Ohkami - intuitive and declarative web framework for Rust
MIT License
Bot releases are hidden (Show)
,
instead of ,
by @kana-rus in https://github.com/kana-rus/ohkami/pull/155
categories
: "network-programming", "wasm" by @kana-rus in https://github.com/kana-rus/ohkami/pull/156
JWTToken
& export from builtin::item
together with File
by @kana-rus in https://github.com/kana-rus/ohkami/pull/157
#[bindings]
by @kana-rus in https://github.com/kana-rus/ohkami/pull/159
#[bindings]
: add static methods that return vars bindings as literals by @kana-rus in https://github.com/kana-rus/ohkami/pull/160
unix_timestamp
in worker by @kana-rus in https://github.com/kana-rus/ohkami/pull/161
builtin::utils::JWT
by @kana-rus in https://github.com/kana-rus/ohkami/pull/162
where /* validation fn */
in #[Payload]
by @kana-rus in https://github.com/kana-rus/ohkami/pull/163
#[Payload]
: take validating expression(s) in where 〜
by @kana-rus in https://github.com/kana-rus/ohkami/pull/164
log_error!
in ahead of BadRequest response with the error text by @kana-rus in https://github.com/kana-rus/ohkami/pull/166
log_error!
→ warning!
by @kana-rus in https://github.com/kana-rus/ohkami/pull/167
warning!
: use console_info!
instead of console_warn!
in rt_worker by @kana-rus in https://github.com/kana-rus/ohkami/pull/171
ohkami::builtin::JWT doesn't perform verifying for OPTIONS requests
in JWT::verified
by @kana-rus in https://github.com/kana-rus/ohkami/pull/172
crate::warning!
directly by @kana-rus in https://github.com/kana-rus/ohkami/pull/173
utils::StreamExt
by @kana-rus in https://github.com/kana-rus/ohkami/pull/180
S: Send
bound of DataStream::from_stream
cfg feature="rt_worker"
by @kana-rus in https://github.com/kana-rus/ohkami/pull/181
ohkami_lib/
& add StreamExt::chain
, once
by @kana-rus in https://github.com/kana-rus/ohkami/pull/182
FromRequet
items in handler by @kana-rus in https://github.com/kana-rus/ohkami/pull/183
utils::stream::queue
& openai chat completions example by @kana-rus in https://github.com/kana-rus/ohkami/pull/184
stream::queue
by @kana-rus in https://github.com/kana-rus/ohkami/pull/185
Full Changelog: https://github.com/kana-rus/ohkami/compare/v0.18...v0.19
Published by kana-rus 6 months ago
Auto Generated
&*vector
-> vector.as_slice()
by @kana-rus in https://github.com/kana-rus/ohkami/pull/133
CowContent
to use CowSlice
by @kana-rus in https://github.com/kana-rus/ohkami/pull/134
Request::read
: return Ok(None)
if error kind is ConnectionReset
by @kana-rus in https://github.com/kana-rus/ohkami/pull/139
Connection: "Close"
not only : "close"
by @kana-rus in https://github.com/kana-rus/ohkami/pull/143
Sec-Fetch-{Dest,Mode,Site,User}
as standard headers by @kana-rus in https://github.com/kana-rus/ohkami/pull/145
ErrorKind::NotConnected
in shutdown by Keep-Alive timeout by @kana-rus in https://github.com/kana-rus/ohkami/pull/146
builtin::fang::Timeout
: construct by ::by〜()
by @kana-rus in https://github.com/kana-rus/ohkami/pull/148
worker
crate to v0.2 by @kana-rus in https://github.com/kana-rus/ohkami/pull/149
default = ["DEBUG"]
by @kana-rus in https://github.com/kana-rus/ohkami/pull/150
worker
version in README sample -> 0.2.0 by @kana-rus in https://github.com/kana-rus/ohkami/pull/151
testing::TestResponse::header
by @kana-rus in https://github.com/kana-rus/ohkami/pull/153
Full Changelog: https://github.com/kana-rus/ohkami/compare/v0.17...v0.18
rt_worker
feature ( #117, #118, #121, #122, #127 )#[query]
attribute in #[Query]
( #116 )FromRequest
items ( #123 )Response
's public methods ( #126 )Debug
output of Request
( #124 )URLEncoded
( #128 )and docs update
[package.metadata.crates.io]
& Add docs for JWT
by @kana-rus in https://github.com/kana-rus/ohkami/pull/114
[package.metatata.docs.rs] features = ["rt_tokio"]
in ohkami/Cargo.toml by @kana-rus in https://github.com/kana-rus/ohkami/pull/115
#[worker]
's expanded by @kana-rus in https://github.com/kana-rus/ohkami/pull/118
Clone
, from_iter
by @kana-rus in https://github.com/kana-rus/ohkami/pull/119
#[cfg(feature="DEBUG")] println!
s by @kana-rus in https://github.com/kana-rus/ohkami/pull/120
QueryParams::iter
, Response::complete
(don't use set Date
… by @kana-rus in https://github.com/kana-rus/ohkami/pull/121
#[cfg(〜)]
an 64bit-speciffic code path to clear warning in wasm32 by @kana-rus in https://github.com/kana-rus/ohkami/pull/122
debug_map
by @kana-rus in https://github.com/kana-rus/ohkami/pull/124
Response
's public methods by @kana-rus in https://github.com/kana-rus/ohkami/pull/126
FromRequest
for worker::{Env, Context}
in rt_worker
by @kana-rus in https://github.com/kana-rus/ohkami/pull/127
Full Changelog: https://github.com/kana-rus/ohkami/compare/v0.16.0...v0.17
Published by kana-rus 6 months ago
Fang
and FangProc
, like tower's Layer
and Service
.Future
s in Fangs
or something as possible I can.Ohkami::howl_with
and make every fangs to be called for any requests, including Not Found
one, that are eaten by a Ohkami
they are registered.FangAction
for easy impl of Fang
Payload
and PayloadType
trait based on serde
framework.#[ResponseBody]
#[Payload]
to take an existing type that impls PayloadType
.PayloadType
: JSON
, Text
, HTML
, Multipart
, URLEncoded
"/route".Dir("./path/to/dir")
creates Dir
, that serves all files in ./path/to/dir
.
rt_*
For ease with developing third-party Fang
s, now ohkami
can be build without rt_*
feature.
In request handling, make route matching independent of registering order in Ohkami
.
Put large arrays in Box<_>
, this doesn't make bench scores worse.
Published by kana-rus 8 months ago
type Type: BodyType
in ResponseBody
and, when Type
is JSON
, automatically impl ResponseBody<Type = JSON>
for Vec<_>
, [_; _]
, &[_]
, Option<_>
type Error: IntoResponse
in {Front, Back}Fang
and updates their return type to Output = Result<(), Self::Error>
Response::{json_str, set_json_str}
: mark as unsafePublished by kana-rus 8 months ago
Ohkami::howl_with
, Testing::oneshot_with
FromParam
value without tupleJWT::issue
Published by kana-rus 8 months ago
derive
feature of serde that ohkami directly depends on, then finally #[PayloadJSOND]
and #[ResponseBody(JSONS)]
get be able to work!Ohkami::howl
:impl {runtime}::net::ToSocketAddr
instead of impl ohkami::TCPAddress
.Content-Length: 0
for response if it does't have content and its status isn't 204 No Content
.Published by kana-rus 8 months ago
Fang(〜)
and add Fang::front
, Fang::back
Status
enum and typed
moduleRequest::path
returns an empty bytes when the raw request path is /
/
Published by kana-rus 9 months ago
Published by kana-rus 9 months ago
With type-safe handler as the core, introduced a wide range of new features
Published by kana-rus 9 months ago
With type-safe handler as the core, introduced a wide range of new features