-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
75 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
[package] | ||
name = "custom_schema" | ||
version = "0.1.0" | ||
authors = ["Ralph Bisschops <[email protected]>"] | ||
authors = [ "Ralph Bisschops <[email protected]>" ] | ||
edition = "2021" | ||
|
||
[dependencies] | ||
rocket = { version = "=0.5.0", default-features = false, features = ["json"] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = ["swagger", "rapidoc"] } | ||
rocket = { version = "=0.5.0", default-features = false, features = [ "json" ] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = [ "swagger", "rapidoc" ] } | ||
serde = "1.0" | ||
serde_json = "1.0" | ||
indexmap = "1.8.2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
[package] | ||
name = "dyn_templates" | ||
version = "0.1.0" | ||
authors = [ | ||
"Ralph Bisschops <[email protected]>", | ||
] | ||
authors = [ "Ralph Bisschops <[email protected]>" ] | ||
edition = "2021" | ||
|
||
[dependencies] | ||
rocket = { version = "=0.5.0", default-features = false, features = ["json"] } | ||
rocket = { version = "=0.5.0", default-features = false, features = [ "json" ] } | ||
schemars = { version = "0.8" } | ||
rocket_okapi = { path = "../../rocket-okapi", features = ["swagger", "rapidoc", "rocket_dyn_templates"] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = [ "swagger", "rapidoc", "rocket_dyn_templates" ] } | ||
serde = "1.0" | ||
rocket_dyn_templates = {version = "=0.1.0", features = ["handlebars"]} | ||
handlebars = "4.3.0" | ||
rocket_dyn_templates = { version = "=0.1.0", features = [ "handlebars" ] } | ||
handlebars = "5.0.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[package] | ||
name = "json_web_api" | ||
version = "0.1.0" | ||
authors = ["Graham Esau <[email protected]>"] | ||
authors = [ "Graham Esau <[email protected]>" ] | ||
edition = "2021" | ||
|
||
[dependencies] | ||
rocket = { version = "=0.5.0", default-features = false, features = ["json"] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = ["swagger", "rapidoc"] } | ||
rocket = { version = "=0.5.0", default-features = false, features = [ "json" ] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = [ "swagger", "rapidoc" ] } | ||
serde = "1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
[package] | ||
name = "nested" | ||
version = "0.1.0" | ||
authors = ["Maxime Borges <[email protected]>", "Ralph Bisschops <[email protected]>"] | ||
authors = [ | ||
"Maxime Borges <[email protected]>", | ||
"Ralph Bisschops <[email protected]>", | ||
] | ||
edition = "2021" | ||
|
||
[dependencies] | ||
rocket = { version = "=0.5.0", default-features = false, features = ["json"] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = ["rapidoc"] } | ||
rocket = { version = "=0.5.0", default-features = false, features = [ "json" ] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = [ "rapidoc" ] } | ||
serde = "1.0" | ||
serde_json = "1.0" | ||
indexmap = "1.8.2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[package] | ||
name = "openapi_attributes" | ||
version = "0.1.0" | ||
authors = ["Ralph Bisschops <[email protected]>"] | ||
authors = [ "Ralph Bisschops <[email protected]>" ] | ||
edition = "2021" | ||
|
||
[dependencies] | ||
rocket = { version = "=0.5.0", default-features = false, features = ["json"] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = ["swagger", "rapidoc"] } | ||
rocket = { version = "=0.5.0", default-features = false, features = [ "json" ] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = [ "swagger", "rapidoc" ] } | ||
serde = "1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[package] | ||
name = "raw_identifiers" | ||
version = "0.1.0" | ||
authors = ["Alex Payne <[email protected]>"] | ||
authors = [ "Alex Payne <[email protected]>" ] | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
rocket = { version = "=0.5.0", default-features = false, features = ["json"] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = ["rapidoc", "swagger"] } | ||
rocket = { version = "=0.5.0", default-features = false, features = [ "json" ] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = [ "rapidoc", "swagger" ] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
[package] | ||
name = "secure_request_guard" | ||
version = "0.1.0" | ||
authors = ["Kristoffer Ödmark <[email protected]>", "Ralph Bisschops <[email protected]>"] | ||
authors = [ | ||
"Kristoffer Ödmark <[email protected]>", | ||
"Ralph Bisschops <[email protected]>", | ||
] | ||
edition = "2021" | ||
|
||
[dependencies] | ||
rocket = { version = "=0.5.0", default-features = false, features = ["json", "secrets"] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = ["rapidoc", "swagger", "secrets"] } | ||
rocket = { version = "=0.5.0", default-features = false, features = [ "json", "secrets" ] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = [ "rapidoc", "swagger", "secrets" ] } | ||
serde = "1.0" | ||
tokio = "1.6" | ||
serde_json = "1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[package] | ||
name = "special-types" | ||
version = "0.1.0" | ||
authors = ["Ralph Bisschops <[email protected]>"] | ||
authors = [ "Ralph Bisschops <[email protected]>" ] | ||
edition = "2021" | ||
|
||
[dependencies] | ||
rocket = { version = "=0.5.0", default-features = false, features = ["json"] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = ["swagger", "rapidoc"] } | ||
rocket = { version = "=0.5.0", default-features = false, features = [ "json" ] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = [ "swagger", "rapidoc" ] } | ||
serde = "1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[package] | ||
name = "streams" | ||
version = "0.1.0" | ||
authors = ["Ralph Bisschops <[email protected]>"] | ||
authors = [ "Ralph Bisschops <[email protected]>" ] | ||
edition = "2021" | ||
|
||
[dependencies] | ||
rocket = { version = "=0.5.0", default-features = false, features = ["json"] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = ["swagger", "rapidoc"] } | ||
rocket = { version = "=0.5.0", default-features = false, features = [ "json" ] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = [ "swagger", "rapidoc" ] } | ||
serde = "1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,15 @@ | |
name = "uuid" | ||
version = "0.1.0" | ||
authors = [ | ||
"Graham Esau <[email protected]>", | ||
"Graham Esau <[email protected]>", | ||
"Rafael Epplee <[email protected]>", | ||
"Ralph Bisschops <[email protected]>", | ||
"Ralph Bisschops <[email protected]>", | ||
] | ||
edition = "2021" | ||
|
||
[dependencies] | ||
rocket = { version = "=0.5.0", default-features = false, features = ["json", "uuid"] } | ||
schemars = { version = "0.8", features = ["uuid1"] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = ["swagger", "rapidoc", "uuid"] } | ||
rocket = { version = "=0.5.0", default-features = false, features = [ "json", "uuid" ] } | ||
schemars = { version = "0.8", features = [ "uuid1" ] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = [ "swagger", "rapidoc", "uuid" ] } | ||
serde = "1.0" | ||
uuid = { version = "1.1.1", features = ["v4"] } | ||
uuid = { version = "1.1.1", features = [ "v4" ] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
[package] | ||
name = "websocket" | ||
version = "0.1.0" | ||
authors = ["Ralph Bisschops <[email protected]>"] | ||
authors = [ "Ralph Bisschops <[email protected]>" ] | ||
edition = "2021" | ||
|
||
[dependencies] | ||
rocket = { version = "=0.5.0", default-features = false, features = ["json"] } | ||
rocket = { version = "=0.5.0", default-features = false, features = [ "json" ] } | ||
rocket_ws = "0.1.0" | ||
rocket_okapi = { path = "../../rocket-okapi", features = [ | ||
"swagger", | ||
"rapidoc", | ||
"rocket_ws", | ||
] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = [ "swagger", "rapidoc", "rocket_ws" ] } | ||
serde = "1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,24 +3,24 @@ name = "okapi" | |
description = "Structs for OpenAPI (AKA Swagger) documents" | ||
repository = "https://github.com/GREsau/okapi" | ||
version = "0.7.0" | ||
authors = ["Graham Esau <[email protected]>"] | ||
authors = [ "Graham Esau <[email protected]>" ] | ||
edition = "2021" | ||
license = "MIT" | ||
readme = "../README.md" | ||
keywords = ["rust", "openapi", "swagger"] | ||
categories = ["web-programming"] | ||
keywords = [ "rust", "openapi", "swagger" ] | ||
categories = [ "web-programming" ] | ||
|
||
[dependencies] | ||
schemars = { version = "0.8" } | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde = { version = "1.0", features = [ "derive" ] } | ||
serde_json = "1.0" | ||
log = "0.4" | ||
|
||
[features] | ||
# Implements `JsonSchema` for `Schemars` and `Okapi` types themselves. | ||
impl_json_schema = ["schemars/impl_json_schema"] | ||
impl_json_schema = [ "schemars/impl_json_schema" ] | ||
# Preserve the order of items in schema and other part of the OpenAPI documentation. | ||
preserve_order = ["schemars/preserve_order"] | ||
preserve_order = [ "schemars/preserve_order" ] | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,12 @@ name = "rocket_okapi_codegen" | |
description = "Macros supporting rocket_okapi" | ||
repository = "https://github.com/GREsau/okapi" | ||
version = "0.8.0" | ||
authors = ["Graham Esau <[email protected]>"] | ||
authors = [ "Graham Esau <[email protected]>" ] | ||
edition = "2021" | ||
license = "MIT" | ||
readme = "../README.md" | ||
keywords = ["rust", "openapi", "swagger", "rocket"] | ||
categories = ["web-programming"] | ||
keywords = [ "rust", "openapi", "swagger", "rocket" ] | ||
categories = [ "web-programming" ] | ||
|
||
[lib] | ||
proc-macro = true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,15 @@ name = "rocket_okapi" | |
description = "OpenAPI (AKA Swagger) document generation for Rocket applications" | ||
repository = "https://github.com/GREsau/okapi" | ||
version = "0.8.0" | ||
authors = ["Graham Esau <[email protected]>"] | ||
authors = [ "Graham Esau <[email protected]>" ] | ||
edition = "2021" | ||
license = "MIT" | ||
readme = "../README.md" | ||
keywords = ["rust", "openapi", "swagger", "rocket"] | ||
categories = ["web-programming"] | ||
keywords = [ "rust", "openapi", "swagger", "rocket" ] | ||
categories = [ "web-programming" ] | ||
|
||
[dependencies] | ||
rocket = { version = "=0.5.0", default-features = false, features = ["json"] } | ||
rocket = { version = "=0.5.0", default-features = false, features = [ "json" ] } | ||
schemars = { version = "0.8.16" } | ||
okapi = { version = "0.7.0", path = "../okapi" } | ||
rocket_okapi_codegen = { version = "=0.8.0", path = "../rocket-okapi-codegen" } | ||
|
@@ -27,30 +27,30 @@ rocket_sync_db_pools = { version = "=0.1.0", optional = true } | |
rocket_ws = { version = "=0.1.0", optional = true } | ||
|
||
[dev-dependencies] | ||
rocket_sync_db_pools = { version = "0.1.0", features = ["diesel_sqlite_pool"] } | ||
rocket_sync_db_pools = { version = "0.1.0", features = [ "diesel_sqlite_pool" ] } | ||
|
||
[features] | ||
default = ["preserve_order"] | ||
default = [ "preserve_order" ] | ||
|
||
# Preserve the order of items in schema and other part of the OpenAPI documentation. | ||
preserve_order = ["schemars/preserve_order", "okapi/preserve_order"] | ||
preserve_order = [ "schemars/preserve_order", "okapi/preserve_order" ] | ||
# Feature to enable Swagger UI for rendering documentation | ||
# Project: https://github.com/swagger-api/swagger-ui | ||
swagger = [] | ||
swagger = [ ] | ||
# Feature to enable RapiDoc for rendering documentation | ||
# Project: https://github.com/mrin9/RapiDoc | ||
rapidoc = [] | ||
rapidoc = [ ] | ||
# Allow the use of UUIDs | ||
uuid = ["rocket/uuid", "schemars/uuid"] | ||
uuid = [ "rocket/uuid", "schemars/uuid" ] | ||
# Re-export Rocket feature flag | ||
# https://docs.rs/rocket/latest/rocket/serde/msgpack/struct.MsgPack.html | ||
msgpack = ["rocket/msgpack"] | ||
msgpack = [ "rocket/msgpack" ] | ||
# Re-export Rocket feature flag | ||
# https://rocket.rs/v0.5/guide/requests/#secret-key | ||
secrets = ["rocket/secrets"] | ||
secrets = [ "rocket/secrets" ] | ||
# Re-export Rocket feature flag | ||
# https://rocket.rs/v0.5/guide/configuration/#mutual-tls | ||
mtls = ["rocket/mtls"] | ||
mtls = [ "rocket/mtls" ] | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true |