forked from loafle/openapi-generator-original
[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"
|
base64 = "~0.7.0"
|
||||||
futures = "^0.3"
|
futures = "^0.3"
|
||||||
{{/hyper}}
|
{{/hyper}}
|
||||||
|
{{#withAWSV4Signature}}
|
||||||
|
aws-sigv4 = "0.3.0"
|
||||||
|
http = "0.2.5"
|
||||||
|
secrecy = "0.8.0"
|
||||||
|
{{/withAWSV4Signature}}
|
||||||
{{#reqwest}}
|
{{#reqwest}}
|
||||||
{{^supportAsync}}
|
{{^supportAsync}}
|
||||||
reqwest = "~0.9"
|
reqwest = "~0.9"
|
||||||
@ -28,11 +33,6 @@ version = "^0.11"
|
|||||||
features = ["json", "multipart"]
|
features = ["json", "multipart"]
|
||||||
{{/supportAsync}}
|
{{/supportAsync}}
|
||||||
{{/reqwest}}
|
{{/reqwest}}
|
||||||
{{#withAWSV4Signature}}
|
|
||||||
aws-sigv4 = "0.3.0"
|
|
||||||
http = "0.2.5"
|
|
||||||
secrecy = "0.8.0"
|
|
||||||
{{/withAWSV4Signature}}
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
{{#hyper}}
|
{{#hyper}}
|
||||||
|
@ -10,9 +10,9 @@ serde_derive = "^1.0"
|
|||||||
serde_json = "^1.0"
|
serde_json = "^1.0"
|
||||||
url = "^2.2"
|
url = "^2.2"
|
||||||
uuid = { version = "^1.0", features = ["serde"] }
|
uuid = { version = "^1.0", features = ["serde"] }
|
||||||
reqwest = "~0.9"
|
|
||||||
aws-sigv4 = "0.3.0"
|
aws-sigv4 = "0.3.0"
|
||||||
http = "0.2.5"
|
http = "0.2.5"
|
||||||
secrecy = "0.8.0"
|
secrecy = "0.8.0"
|
||||||
|
reqwest = "~0.9"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user