feat: add alibaba cloud fn template
This commit is contained in:
19
{{project_name}}/Cargo.toml
Normal file
19
{{project_name}}/Cargo.toml
Normal file
@@ -0,0 +1,19 @@
|
||||
[package]
|
||||
name = "{{project_name}}"
|
||||
version = "0.0.1"
|
||||
authors = ["{{author}} <{{email}}>"]
|
||||
edition = "2018"
|
||||
{% if license != "None" -%}
|
||||
license = "{{license}}"
|
||||
{%- endif %}
|
||||
description = "{{description}}"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[[bin]]
|
||||
name = "{{bin}}"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "0.2", features = ["full"] }
|
||||
hyper = "0.13"
|
||||
Reference in New Issue
Block a user