mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-02-22 20:52:27 +00:00
make clear that this tracks gotham master
This commit is contained in:
parent
694b45ea60
commit
40e6d1bc03
5 changed files with 10 additions and 4 deletions
|
@ -30,6 +30,9 @@ bodies, relying on [`serde`][serde] and [`serde_json`][serde_json] for (de)seria
|
|||
enable the `openapi` feature, you can also generate an OpenAPI Specification from your RESTful
|
||||
resources.
|
||||
|
||||
**Note:** The master branch currently tracks gotham's master branch and the next release will use
|
||||
gotham 0.5.0 and be compatible with the new future / async stuff.
|
||||
|
||||
## Usage
|
||||
|
||||
A basic server with only one resource, handling a simple `GET` request, could look like this:
|
||||
|
|
|
@ -17,7 +17,7 @@ gitlab = { repository = "msrd0/gotham-restful", branch = "master" }
|
|||
fake = "2.2"
|
||||
gotham = { git = "https://github.com/gotham-rs/gotham", version = "0.5.0-dev", default-features = false }
|
||||
gotham_derive = { git = "https://github.com/gotham-rs/gotham", version = "0.5.0-dev", default-features = false }
|
||||
gotham_restful = { version = "0.0.4", features = ["auth", "openapi"] }
|
||||
gotham_restful = { version = "0.0.5-dev", features = ["auth", "openapi"] }
|
||||
log = "0.4"
|
||||
log4rs = { version = "0.8", features = ["console_appender"], default-features = false }
|
||||
serde = "1"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
[package]
|
||||
name = "gotham_restful"
|
||||
version = "0.0.4"
|
||||
version = "0.0.5-dev"
|
||||
authors = ["Dominic Meiser <git@msrd0.de>"]
|
||||
edition = "2018"
|
||||
description = "RESTful additions for Gotham"
|
||||
|
@ -24,7 +24,7 @@ futures-util = "0.3.4"
|
|||
gotham = { git = "https://github.com/gotham-rs/gotham", version = "0.5.0-dev", default-features = false }
|
||||
gotham_derive = { git = "https://github.com/gotham-rs/gotham", version = "0.5.0-dev" }
|
||||
gotham_middleware_diesel = { git = "https://github.com/gotham-rs/gotham", version = "0.1.0", optional = true }
|
||||
gotham_restful_derive = { version = "0.0.3" }
|
||||
gotham_restful_derive = { version = "0.0.4-dev" }
|
||||
hyper = "0.13.4"
|
||||
indexmap = { version = "1.3.0", optional = true }
|
||||
jsonwebtoken = { version = "7.1.0", optional = true }
|
||||
|
|
|
@ -6,6 +6,9 @@ bodies, relying on [`serde`][serde] and [`serde_json`][serde_json] for (de)seria
|
|||
enable the `openapi` feature, you can also generate an OpenAPI Specification from your RESTful
|
||||
resources.
|
||||
|
||||
**Note:** The master branch currently tracks gotham's master branch and the next release will use
|
||||
gotham 0.5.0 and be compatible with the new future / async stuff.
|
||||
|
||||
# Usage
|
||||
|
||||
A basic server with only one resource, handling a simple `GET` request, could look like this:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
[package]
|
||||
name = "gotham_restful_derive"
|
||||
version = "0.0.3"
|
||||
version = "0.0.4-dev"
|
||||
authors = ["Dominic Meiser <git@msrd0.de>"]
|
||||
edition = "2018"
|
||||
description = "RESTful additions for Gotham - Derive"
|
||||
|
|
Loading…
Add table
Reference in a new issue