forked from horacimacias/openapi-generator-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.mustache
42 lines (40 loc) · 901 Bytes
/
Cargo.mustache
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[package]
name = "{{{packageName}}}"
version = "{{#lambdaVersion}}{{{packageVersion}}}{{/lambdaVersion}}"
authors = ["OpenAPI Generator team and contributors"]
edition = "2021"
[dependencies]
num-traits = { version = "^0.2", default-features = false }
serde = "^1.0"
serde_derive = "^1.0"
serde_json = "^1.0"
serde_repr = "0.1"
url = "^2.2"
uuid = { version = "^1.0", features = ["serde"] }
{{#hyper}}
hyper = { version = "~0.14", features = ["full"] }
hyper-tls = "~0.5"
http = "~0.2"
serde_yaml = "0.7"
base64 = "~0.7.0"
futures = "^0.3"
{{/hyper}}
{{#reqwest}}
{{^supportAsync}}
reqwest = "~0.9"
{{/supportAsync}}
{{#supportAsync}}
[dependencies.reqwest]
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}}
tokio-core = "*"
{{/hyper}}