-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore move utoipa under it's own folder
Move utoipa under it's own sub folder from root folder. This gives room for additional utilities that should be shared across the repo. Fix Github actions pipeline to support the new project structure. Replace deprecated cargo `read-manifest` command usage with `metadata` command.
- Loading branch information
Showing
24 changed files
with
153 additions
and
161 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
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,57 +1,14 @@ | ||
[package] | ||
name = "utoipa" | ||
description = "Compile time generated OpenAPI documentation for Rust" | ||
version = "1.1.0" | ||
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
readme = "README.md" | ||
keywords = ["rest-api", "openapi", "auto-generate", "documentation", "compile-time"] | ||
# documentation = "" | ||
# homepage = "" | ||
repository = "https://github.com/juhaku/utoipa" | ||
categories = ["web-programming"] | ||
authors = [ | ||
"Juha Kukkonen <[email protected]>" | ||
] | ||
|
||
exclude = [ | ||
".git*", | ||
".github" | ||
] | ||
|
||
[features] | ||
default = ["json"] | ||
debug = ["utoipa-gen/debug"] | ||
actix_extras = ["utoipa-gen/actix_extras"] | ||
rocket_extras = ["utoipa-gen/rocket_extras"] | ||
axum_extras = ["utoipa-gen/axum_extras"] | ||
json = ["serde_json", "utoipa-gen/json"] | ||
chrono = ["utoipa-gen/chrono"] | ||
chrono_with_format = ["utoipa-gen/chrono_with_format"] | ||
decimal = ["utoipa-gen/decimal"] | ||
yaml = ["serde_yaml", "utoipa-gen/yaml"] | ||
uuid = ["utoipa-gen/uuid"] | ||
time = ["utoipa-gen/time"] | ||
smallvec = ["utoipa-gen/smallvec"] | ||
openapi_extensions = [] | ||
|
||
[dependencies] | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_json = { version = "1.0", optional = true } | ||
serde_yaml = { version = "0.9", optional = true } | ||
utoipa-gen = { version = "1.1.0", path = "./utoipa-gen" } | ||
|
||
[dev-dependencies] | ||
assert-json-diff = "2" | ||
|
||
[workspace] | ||
members = [ | ||
"utoipa", | ||
"utoipa-gen", | ||
"utoipa-swagger-ui" | ||
] | ||
|
||
[package.metadata.docs.rs] | ||
features = ["json", "actix_extras"] | ||
|
||
[package.metadata.publish] | ||
[workspace.metadata.publish] | ||
order = ["utoipa-gen", "utoipa", "utoipa-swagger-ui"] |
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
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,44 @@ | ||
[package] | ||
name = "utoipa" | ||
description = "Compile time generated OpenAPI documentation for Rust" | ||
version = "1.1.0" | ||
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
readme = "README.md" | ||
keywords = ["rest-api", "openapi", "auto-generate", "documentation", "compile-time"] | ||
# documentation = "" | ||
# homepage = "" | ||
repository = "https://github.com/juhaku/utoipa" | ||
categories = ["web-programming"] | ||
authors = [ | ||
"Juha Kukkonen <[email protected]>" | ||
] | ||
|
||
[features] | ||
default = ["json"] | ||
debug = ["utoipa-gen/debug"] | ||
actix_extras = ["utoipa-gen/actix_extras"] | ||
rocket_extras = ["utoipa-gen/rocket_extras"] | ||
axum_extras = ["utoipa-gen/axum_extras"] | ||
json = ["serde_json", "utoipa-gen/json"] | ||
chrono = ["utoipa-gen/chrono"] | ||
chrono_with_format = ["utoipa-gen/chrono_with_format"] | ||
decimal = ["utoipa-gen/decimal"] | ||
yaml = ["serde_yaml", "utoipa-gen/yaml"] | ||
uuid = ["utoipa-gen/uuid"] | ||
time = ["utoipa-gen/time"] | ||
smallvec = ["utoipa-gen/smallvec"] | ||
openapi_extensions = [] | ||
|
||
[dependencies] | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_json = { version = "1.0", optional = true } | ||
serde_yaml = { version = "0.9", optional = true } | ||
utoipa-gen = { version = "1.1.0", path = "../utoipa-gen" } | ||
|
||
[dev-dependencies] | ||
assert-json-diff = "2" | ||
|
||
[package.metadata.docs.rs] | ||
features = ["json", "actix_extras", "axum_extras"] | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.