Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3804844
D1668.id4252.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D1668.id4252.diff
View Options
diff --git a/Cargo.toml b/Cargo.toml
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,13 +4,24 @@
authors = [
"Sébastien Santoro <dereckson@espace-win.org>",
]
-description = "Helper code to create a Rest API with Diesel and Rocket"
+description = "Library to create a REST API with Diesel and Rocket"
+readme = "README.md"
+keywords = [
+ "Diesel",
+ "API",
+ "Rocket",
+ "REST",
+]
+categories = [
+ "web-programming",
+]
license = "BSD-2-Clause"
+repository = "https://devcentral.nasqueron.org/source/limiting-factor/"
[dependencies]
-diesel = { version = "1.0.0", features = ["postgres", "r2d2", "chrono"] }
+diesel = { version = "^1.0.0", features = ["postgres", "r2d2", "chrono"] }
dotenv = "0.9.0"
log = "^0.4.4"
r2d2 = "^0.8.2"
rocket = "^0.3.16"
-rocket_contrib = { version = "*", features = ["json"] }
+rocket_contrib = { version = "^0.3.16", features = [ "json" ] }
diff --git a/README.md b/README.md
new file mode 100644
--- /dev/null
+++ b/README.md
@@ -0,0 +1,9 @@
+The **limiting-factor** crate offers facilities to implement a REST API.
+
+The goal of this library is to provide:
+
+ - glue code for Rocket and Diesel
+ - standard API replies
+ - boilerplate to parse environment 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.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 30, 23:19 (20 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2273699
Default Alt Text
D1668.id4252.diff (1 KB)
Attached To
Mode
D1668: Improve metadata
Attached
Detach File
Event Timeline
Log In to Comment