-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename
websocket
example and reformat toml files.
- Rename `websocket` example because of crate name conflict triggering `cargo audit`
- Loading branch information
Showing
18 changed files
with
60 additions
and
56 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
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 = "custom_schema" | ||
version = "0.1.0" | ||
authors = [ "Ralph Bisschops <[email protected]>" ] | ||
authors = ["Ralph Bisschops <[email protected]>"] | ||
edition = "2021" | ||
|
||
[dependencies] | ||
rocket = { workspace = true } | ||
rocket_okapi = { path = "../../rocket-okapi", features = [ "swagger", "rapidoc" ] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = ["swagger", "rapidoc"] } | ||
serde = { workspace = true } | ||
serde_json = { workspace = 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 |
---|---|---|
@@ -1,13 +1,17 @@ | ||
[package] | ||
name = "dyn_templates" | ||
version = "0.1.0" | ||
authors = [ "Ralph Bisschops <[email protected]>" ] | ||
authors = ["Ralph Bisschops <[email protected]>"] | ||
edition = "2021" | ||
|
||
[dependencies] | ||
rocket = { workspace = true } | ||
schemars = { workspace = true } | ||
rocket_okapi = { path = "../../rocket-okapi", features = [ "swagger", "rapidoc", "rocket_dyn_templates" ] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = [ | ||
"swagger", | ||
"rapidoc", | ||
"rocket_dyn_templates", | ||
] } | ||
serde = { workspace = true } | ||
rocket_dyn_templates = { workspace = true, features = [ "handlebars" ] } | ||
rocket_dyn_templates = { workspace = true, 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 = { workspace = true } | ||
rocket_okapi = { path = "../../rocket-okapi", features = [ "swagger", "rapidoc" ] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = ["swagger", "rapidoc"] } | ||
serde = { workspace = 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 |
---|---|---|
@@ -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 = { workspace = true } | ||
rocket_okapi = { path = "../../rocket-okapi", features = [ "swagger", "rapidoc" ] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = ["swagger", "rapidoc"] } | ||
serde = { workspace = 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 |
---|---|---|
@@ -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 = { workspace = true } | ||
rocket_okapi = { path = "../../rocket-okapi", features = [ "rapidoc", "swagger" ] } | ||
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
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 = { workspace = true } | ||
rocket_okapi = { path = "../../rocket-okapi", features = [ "swagger", "rapidoc" ] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = ["swagger", "rapidoc"] } | ||
serde = { workspace = 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 |
---|---|---|
@@ -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 = { workspace = true } | ||
rocket_okapi = { path = "../../rocket-okapi", features = [ "swagger", "rapidoc" ] } | ||
rocket_okapi = { path = "../../rocket-okapi", features = ["swagger", "rapidoc"] } | ||
serde = { workspace = 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 was deleted.
Oops, something went wrong.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[package] | ||
name = "websocket_usage" | ||
version = "0.1.0" | ||
authors = ["Ralph Bisschops <[email protected]>"] | ||
edition = "2021" | ||
|
||
[dependencies] | ||
rocket = { workspace = true } | ||
rocket_ws = { workspace = true } | ||
rocket_okapi = { path = "../../rocket-okapi", features = ["swagger", "rapidoc", "rocket_ws"] } | ||
serde = { workspace = true } |
File renamed without changes.
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 = { workspace = true } | ||
serde = { workspace = true, features = [ "derive" ] } | ||
serde = { workspace = true, features = ["derive"] } | ||
serde_json = { workspace = true } | ||
log = { workspace = true } | ||
|
||
[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
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,12 +3,12 @@ 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 = { workspace = true } | ||
|
@@ -27,30 +27,30 @@ rocket_sync_db_pools = { workspace = true, optional = true } | |
rocket_ws = { workspace = true, 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 |