Skip to content

Commit

Permalink
Implement async fail point with tokio
Browse files Browse the repository at this point in the history
  • Loading branch information
hachikuji committed Nov 5, 2024
1 parent b6d5834 commit c55ef25
Show file tree
Hide file tree
Showing 2 changed files with 298 additions and 57 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ exclude = ["/.github/*", "/.travis.yml", "/appveyor.yml"]
log = { version = "0.4", features = ["std"] }
once_cell = "1.9.0"
rand = "0.8"
tokio = { version = "1.40.0", features = ["sync", "time", "rt", "macros", "test-util"], optional = true }

[features]
failpoints = []
async = ["dep:tokio"]

[package.metadata.docs.rs]
all-features = true
Loading

0 comments on commit c55ef25

Please sign in to comment.