reverted poem-openapi upgrade

This commit is contained in:
Eugene Pankov 2022-08-24 22:48:43 +02:00
parent 6cb56836be
commit dd929ad1ca
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4
5 changed files with 15 additions and 29 deletions

36
Cargo.lock generated
View file

@ -7,6 +7,10 @@ name = "Inflector"
version = "0.11.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3"
dependencies = [
"lazy_static",
"regex",
]
[[package]]
name = "addr2line"
@ -2770,9 +2774,9 @@ dependencies = [
[[package]]
name = "poem-openapi"
version = "2.0.10"
version = "2.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4d4d9252b377035ab2ef8d88020d0484f80892ec6325028af9e4c5839a0656b7"
checksum = "6410fb35798b39e6f4d31dbe208b32238f35a3e322b44a1b58770d4c4b974f3a"
dependencies = [
"base64 0.13.0",
"bytes 1.2.1",
@ -2787,7 +2791,7 @@ dependencies = [
"serde",
"serde_json",
"serde_urlencoded",
"serde_yaml 0.9.10",
"serde_yaml",
"thiserror",
"tokio",
"uuid",
@ -2795,10 +2799,11 @@ dependencies = [
[[package]]
name = "poem-openapi-derive"
version = "2.0.10"
version = "2.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d5a965be0296fa454602ca8f7a5422e91f5b24d42bfadc1117b17e132892cd7f"
checksum = "585839bf881890f4051727168dfec9286e900679957de36aff9cb32ea55f9d12"
dependencies = [
"Inflector",
"darling",
"http",
"indexmap",
@ -3689,19 +3694,6 @@ dependencies = [
"yaml-rust",
]
[[package]]
name = "serde_yaml"
version = "0.9.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a09f551ccc8210268ef848f0bab37b306e87b85b2e017b899e7fb815f5aed62"
dependencies = [
"indexmap",
"itoa",
"ryu",
"serde",
"unsafe-libyaml",
]
[[package]]
name = "sha-1"
version = "0.10.0"
@ -4507,12 +4499,6 @@ dependencies = [
"subtle",
]
[[package]]
name = "unsafe-libyaml"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "931179334a56395bcf64ba5e0ff56781381c1a5832178280c7d7f91d1679aeb0"
[[package]]
name = "untrusted"
version = "0.7.1"
@ -4630,7 +4616,7 @@ dependencies = [
"qrcode",
"rcgen",
"sd-notify",
"serde_yaml 0.8.25",
"serde_yaml",
"time 0.3.11",
"tokio",
"tracing",

View file

@ -18,7 +18,7 @@ poem = { version = "^1.3.40", features = [
"anyhow",
"websocket",
] }
poem-openapi = { version = "^2.0.10", features = [
poem-openapi = { version = "^2.0.4", features = [
"swagger-ui",
"chrono",
"uuid",

View file

@ -18,7 +18,7 @@ once_cell = "1.13"
packet = "0.1"
password-hash = "0.4"
poem = { version = "^1.3.40", features = ["rustls"] }
poem-openapi = { version = "^2.0.10", features = [
poem-openapi = { version = "^2.0.6", features = [
"swagger-ui",
"chrono",
"uuid",

View file

@ -6,7 +6,7 @@ version = "0.5.0"
[dependencies]
chrono = {version = "0.4", features = ["serde"]}
poem-openapi = {version = "^2.0.10", features = ["chrono", "uuid"]}
poem-openapi = {version = "^2.0.6", features = ["chrono", "uuid"]}
sea-orm = {version = "^0.9", features = ["macros", "with-chrono", "with-uuid", "with-json"], default-features = false}
serde = "1.0"
serde_json = "1.0"

View file

@ -15,7 +15,7 @@ futures = "0.3"
http = "0.2"
lazy_static = "1.4"
poem = {version = "^1.3.40", features = ["cookie", "session", "anyhow", "rustls", "websocket", "sse", "embed"]}
poem-openapi = {version = "^2.0.10", features = ["swagger-ui"]}
poem-openapi = {version = "^2.0.6", features = ["swagger-ui"]}
reqwest = {version = "0.11", features = ["rustls-tls-native-roots", "stream"]}
serde = "1.0"
serde_json = "1.0"