# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "failsafe" version = "1.3.0" authors = ["Dmitry Galinsky "] description = "A circuit breaker implementation" readme = "README.md" license = "MIT" repository = "https://github.com/dmexe/failsafe-rs" [[bench]] name = "windowed_adder" harness = false [[bench]] name = "state_machine" harness = false [[bench]] name = "futures" harness = false [[bench]] name = "circuit_breaker" harness = false [dependencies.futures-core] version = "0.3" optional = true [dependencies.parking_lot] version = "0.12" [dependencies.pin-project] version = "1.0" optional = true [dependencies.rand] version = "0.8" [dev-dependencies.criterion] version = "0.3.6" features = ["html_reports"] [dev-dependencies.futures] version = "0.3" features = ["std"] [dev-dependencies.rand_xorshift] version = "0.3" [dev-dependencies.tokio] version = "1.20" features = [ "rt", "rt-multi-thread", "macros", "time", ] [features] default = ["futures-support"] futures-support = [ "futures-core", "pin-project", ]