Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12239580
README.md
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
907 B
Referenced Files
None
Subscribers
None
README.md
View Options
#
Limiting
Factor
for
axum
This
crate
helps
to
build
REST
API
with
axum
,
with
less
boilerplate
code
.
##
Implemented
features
###
Extractors
The
extractor
for
request
body
is
a
port
of
the
Rocket
0.4
guard
added
in
Limiting
Factor
0.8
.
0
.
If
you
need
to
read
the
body
of
the
HTTP
request
"as is"
,
the
AxumRequestBody
extractor
allows
you
to
read
it
as
a
string
:
async
fn
deploy
(
Path
(
site_name
):
Path
<
String
>,
State
(
config
):
State
<
AlkaneConfig
>,
body
:
AxumRequestBody
,
)
->
ApiResult
<
Json
<
RecipeStatus
>>
{
let
context
=
body
.
into_optional_string
();
// Option<String>
// ...
}
##
Development
Current
focus
is
to
port
features
used
by
REST
API
from
Rocket
0.4
to
axum
0.8
.
4
+.
New
features
:
-
may
be
added
to
the
axum
crate
-
should
be
added
to
the
core
crate
for
the
abstract
part
-
are
not
expected
to
be
implemented
to
the
rocket
-
legacy
crate
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 11, 22:36 (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3062479
Default Alt Text
README.md (907 B)
Attached To
Mode
rLF Limiting Factor
Attached
Detach File
Event Timeline
Log In to Comment