mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-03 06:00:52 +00:00
[rust] fix incorrect Cargo.toml generated when supportAsync & withAWSV4Signature are both enabled. (#13015)
This commit is contained in:
parent
13d34b9b63
commit
6d1c51c95b
@ -18,6 +18,11 @@ serde_yaml = "0.7"
|
||||
base64 = "~0.7.0"
|
||||
futures = "^0.3"
|
||||
{{/hyper}}
|
||||
{{#withAWSV4Signature}}
|
||||
aws-sigv4 = "0.3.0"
|
||||
http = "0.2.5"
|
||||
secrecy = "0.8.0"
|
||||
{{/withAWSV4Signature}}
|
||||
{{#reqwest}}
|
||||
{{^supportAsync}}
|
||||
reqwest = "~0.9"
|
||||
@ -28,11 +33,6 @@ version = "^0.11"
|
||||
features = ["json", "multipart"]
|
||||
{{/supportAsync}}
|
||||
{{/reqwest}}
|
||||
{{#withAWSV4Signature}}
|
||||
aws-sigv4 = "0.3.0"
|
||||
http = "0.2.5"
|
||||
secrecy = "0.8.0"
|
||||
{{/withAWSV4Signature}}
|
||||
|
||||
[dev-dependencies]
|
||||
{{#hyper}}
|
||||
|
@ -10,9 +10,9 @@ serde_derive = "^1.0"
|
||||
serde_json = "^1.0"
|
||||
url = "^2.2"
|
||||
uuid = { version = "^1.0", features = ["serde"] }
|
||||
reqwest = "~0.9"
|
||||
aws-sigv4 = "0.3.0"
|
||||
http = "0.2.5"
|
||||
secrecy = "0.8.0"
|
||||
reqwest = "~0.9"
|
||||
|
||||
[dev-dependencies]
|
||||
|
Loading…
x
Reference in New Issue
Block a user