Add a project for demonstrating concurrency using async
This commit is contained in:
parent
97ae7598ce
commit
e52278f0d3
4 changed files with 19 additions and 0 deletions
7
async-concurrency/Cargo.lock
generated
Normal file
7
async-concurrency/Cargo.lock
generated
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# This file is automatically @generated by Cargo.
|
||||||
|
# It is not intended for manual editing.
|
||||||
|
version = 4
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "async-concurrency"
|
||||||
|
version = "0.1.0"
|
6
async-concurrency/Cargo.toml
Normal file
6
async-concurrency/Cargo.toml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[package]
|
||||||
|
name = "async-concurrency"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2024"
|
||||||
|
|
||||||
|
[dependencies]
|
3
async-concurrency/src/main.rs
Normal file
3
async-concurrency/src/main.rs
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
fn main() {
|
||||||
|
println!("Hello, world!");
|
||||||
|
}
|
|
@ -1,5 +1,8 @@
|
||||||
{
|
{
|
||||||
"folders": [
|
"folders": [
|
||||||
|
{
|
||||||
|
"path": "./async-concurrency"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"path": "./hello-async"
|
"path": "./hello-async"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue