feat: cargo genreate
This commit is contained in:
parent
fc16497ceb
commit
ce7e64f4dd
8 changed files with 112 additions and 551 deletions
|
@ -1,3 +1,10 @@
|
|||
{% if async %}
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
{% else %}
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue