Skip to content

Commit

Permalink
added tokio
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbchron committed Jan 29, 2024
1 parent 962313a commit ff6d069
Show file tree
Hide file tree
Showing 4 changed files with 357 additions and 1 deletion.
351 changes: 351 additions & 0 deletions engine/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
[workspace]
resolver = "2"
members = ["crates/engine"]

[workspace.dependencies]
tokio = { version = "1.35.1", features = ["full"] }
1 change: 1 addition & 0 deletions engine/crates/engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
tokio.workspace = true
3 changes: 2 additions & 1 deletion engine/crates/engine/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
fn main() {
#[tokio::main]
async fn main() {
println!("Hello, world!");
}

0 comments on commit ff6d069

Please sign in to comment.