Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3942559
README.md
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
912 B
Referenced Files
None
Subscribers
None
README.md
View Options
The
**
limiting
-
factor
**
crate
offers
facilities
to
implement
a
REST
API
.
##
Goal
The
goal
of
this
library
is
to
provide
:
-
glue
code
for
Rocket
and
Diesel
-
standard
API
replies
-
boilerplate
to
parse
environment
to
extract
configuration
and
run
a
server
That
allows
an
API
or
a
back
-
end
web
server
to
focus
on
requests
and
data
model
,
and
to
maintain
helper
methods
as
a
separate
library
.
##
Dependencies
*
Diesel
,
as
PostgreSQL
ORM
,
with
r2d2
support
to
pool
connections
*
Rocket
,
as
web
framework
*
Chrono
,
for
date
and
time
types
##
Compile
###
Windows
You
need
to
give
to
`
rustc
`
some
hints
about
where
`
libpq
.
lib
`
is
.
This
is
known
to
have
worked
:
```
setenv
LIB
"
C
:\
Program
Files
\
PostgreSQL
\
10
\
lib
cargo
clean
cargo
run
```
##
Credits
The
glue
code
to
use
Rocket
with
Diesel
is
adapted
from
the
Rocket
guide
.
See
https
:
//rocket.rs/guide/state/#databases. Guide author: Sergio Benitez.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 26, 16:30 (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2315263
Default Alt Text
README.md (912 B)
Attached To
Mode
rLF Limiting Factor
Attached
Detach File
Event Timeline
Log In to Comment