[package] name = "retry_fn" version = "0.2.0" authors = ["Evan Cameron "] edition = "2018" description = """ A simple retry function with versions for blocking or non-blocking, tokio or async-std """ categories = ["algorithms", "asynchronous"] license = "MIT" readme = "README.md" keywords = ["retry", "tokio", "async"] repository = "https://github.com/leshow/retry" [dependencies] tokio = { version = "1.1", features = ["time"], optional = true } async-std = { version = "1.9.0", optional = true } [dev-dependencies] version-sync = "0.9" tokio-test = { version = "0.4" } tokio = { version = "1.1", features = ["full"] } [features] default = [] tokio-runtime = ["tokio"] async-runtime = ["async-std"] [badges] github-actions = { repository = "leshow/retry_fn", workflow = "actions" }