mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-02-23 04:52:28 +00:00
tidy up
This commit is contained in:
parent
11aa24f6ce
commit
78be60b1a4
12 changed files with 29 additions and 5 deletions
|
@ -37,3 +37,18 @@ readme:
|
|||
script:
|
||||
- cargo readme -r gotham_restful -t ../README.tpl >README.md.new
|
||||
- diff README.md README.md.new
|
||||
|
||||
publish:
|
||||
stage: publish
|
||||
image: msrd0/rust:alpine
|
||||
before_script:
|
||||
- cargo -V
|
||||
- cargo login $CRATES_IO_TOKEN
|
||||
script:
|
||||
- cd gotham_restful_derive
|
||||
- cargo publish
|
||||
- cd ../gotham_restful
|
||||
- cargo publish
|
||||
- cd ..
|
||||
only:
|
||||
- tags
|
||||
|
|
|
@ -6,3 +6,7 @@ members = [
|
|||
"gotham_restful_derive",
|
||||
"example"
|
||||
]
|
||||
|
||||
[patch.crates-io]
|
||||
gotham_restful = { path = "./gotham_restful" }
|
||||
gotham_restful_derive = { path = "./gotham_restful_derive" }
|
||||
|
|
|
@ -17,7 +17,7 @@ gitlab = { repository = "msrd0/gotham-restful", branch = "master" }
|
|||
fake = "2.2"
|
||||
gotham = "0.4"
|
||||
gotham_derive = "0.4"
|
||||
gotham_restful = { path = "../gotham_restful", features = ["openapi"] }
|
||||
gotham_restful = { version = "0.0.1", features = ["openapi"] }
|
||||
hyper = "0.12"
|
||||
log = "0.4"
|
||||
log4rs = { version = "0.8", features = ["console_appender"], default-features = false }
|
||||
|
|
|
@ -9,7 +9,6 @@ description = "RESTful additions for Gotham"
|
|||
keywords = ["gotham", "rest", "restful"]
|
||||
license = "EPL-2.0 OR Apache-2.0"
|
||||
readme = "../README.md"
|
||||
include = ["src/**/*", "Cargo.toml", "../LICENSE"]
|
||||
repository = "https://gitlab.com/msrd0/gotham-restful"
|
||||
|
||||
[badges]
|
||||
|
@ -22,7 +21,7 @@ failure = "0.1"
|
|||
futures = "0.1"
|
||||
gotham = "0.4"
|
||||
gotham_derive = "0.4"
|
||||
gotham_restful_derive = { path = "../gotham_restful_derive" }
|
||||
gotham_restful_derive = { version = "0.0.1" }
|
||||
hyper = "0.12"
|
||||
indexmap = { version = "1.0", optional = true }
|
||||
log = { version = "0.4", optional = true }
|
||||
|
|
1
gotham_restful/LICENSE-Apache
Symbolic link
1
gotham_restful/LICENSE-Apache
Symbolic link
|
@ -0,0 +1 @@
|
|||
../LICENSE-Apache
|
1
gotham_restful/LICENSE-EPL
Symbolic link
1
gotham_restful/LICENSE-EPL
Symbolic link
|
@ -0,0 +1 @@
|
|||
../LICENSE-EPL
|
1
gotham_restful/LICENSE.md
Symbolic link
1
gotham_restful/LICENSE.md
Symbolic link
|
@ -0,0 +1 @@
|
|||
../LICENSE.md
|
|
@ -1,5 +1,6 @@
|
|||
#[cfg(feature = "openapi")]
|
||||
use crate::{OpenapiType, result::ResourceError};
|
||||
use crate::OpenapiType;
|
||||
use crate::result::ResourceError;
|
||||
|
||||
use hyper::Chunk;
|
||||
use mime::{Mime, APPLICATION_JSON};
|
||||
|
|
|
@ -9,7 +9,6 @@ description = "RESTful additions for Gotham - Derive"
|
|||
keywords = ["gotham", "rest", "restful", "derive"]
|
||||
license = "EPL-2.0 OR Apache-2.0"
|
||||
readme = "../README.md"
|
||||
include = ["src/**/*", "Cargo.toml", "../LICENSE"]
|
||||
repository = "https://gitlab.com/msrd0/gotham-restful"
|
||||
|
||||
[lib]
|
||||
|
|
1
gotham_restful_derive/LICENSE-Apache
Symbolic link
1
gotham_restful_derive/LICENSE-Apache
Symbolic link
|
@ -0,0 +1 @@
|
|||
../LICENSE-Apache
|
1
gotham_restful_derive/LICENSE-EPL
Symbolic link
1
gotham_restful_derive/LICENSE-EPL
Symbolic link
|
@ -0,0 +1 @@
|
|||
../LICENSE-EPL
|
1
gotham_restful_derive/LICENSE.md
Symbolic link
1
gotham_restful_derive/LICENSE.md
Symbolic link
|
@ -0,0 +1 @@
|
|||
../LICENSE.md
|
Loading…
Add table
Reference in a new issue