Page MenuHomeDevCentral

D1668.diff
No OneTemporary

D1668.diff

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

Mime Type
text/plain
Expires
Sat, Nov 30, 22:41 (20 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2273699
Default Alt Text
D1668.diff (1 KB)

Event Timeline