Dmitry Galinsky

Results 5 comments of Dmitry Galinsky

Hi Ashton. It would be great to implement more features from the r4j library. So the first implementation of `failsafe-rs` was a direct port of the circuit breaker from r4j....

Hi, A circuit breaker instance is a trait object, one of `failsafe::CircuitBreaker` or `failsafe::futures::CurcuitBreaker`, depends on which type of circuit breaker is used (w or w/o futures). So, the signature...

As I understand after looking at the `actix-web` documentation (https://actix.rs/docs/application/) you need something like this: ```rust use failsafe::futures::{CircuitBreaker, Config}; struct AppState { circuit_breaker: C, } #[get("/")] async fn index(data: web::Data)...

Due to inactivity I'm closing the issue

Also related feature: labels for endpoints ```rust let filter = warp::get().and(warp::path("book")).and(warp::param("id")); assert_eq!("/book/{id}", filter.label()); ```