Skip to content

Commit

Permalink
feat(jstzd): implement Task and JoinHandle
Browse files Browse the repository at this point in the history
  • Loading branch information
huancheng-trili committed Sep 12, 2024
1 parent 045203c commit 8491325
Show file tree
Hide file tree
Showing 7 changed files with 510 additions and 3 deletions.
122 changes: 120 additions & 2 deletions Cargo.lock

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

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ members = [
"crates/jstz_rollup",
"crates/jstz_sdk",
"crates/jstz_wpt",
"crates/octez"
"crates/octez",
"crates/jstzd"
]

[workspace.package]
Expand Down
17 changes: 17 additions & 0 deletions crates/jstzd/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[package]
name = "jstzd"
authors.workspace = true
version.workspace = true
edition.workspace = true
repository.workspace = true

[dependencies]
anyhow.workspace = true
tokio.workspace = true
async-dropper = { version = "0.3.1", features = ["tokio", "simple"] }
async-trait = "0.1.82"
futures-util.workspace = true
async-scoped = "0.9.0"

[dev-dependencies]
tokio-test = "0.4.4"
1 change: 1 addition & 0 deletions crates/jstzd/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub mod task;
Loading

0 comments on commit 8491325

Please sign in to comment.