feat: cargo genreate

This commit is contained in:
DavidOnTop 2024-01-28 11:55:06 +01:00
parent fc16497ceb
commit ce7e64f4dd
No known key found for this signature in database
GPG key ID: FAB914DDC2F180EB
8 changed files with 112 additions and 551 deletions

View file

@ -1,3 +1,10 @@
{% if async %}
#[tokio::main]
async fn main() {
println!("Hello, world!");
}
{% else %}
fn main() {
println!("Hello, world!");
}
{% endif %}