Breaking changes:
- minimum rust version is 1.60
Improvements:
- drop
pin-project
dependency, usepin-project-lite
instead
Added:
- Implements circuit breaker for
futures::Stream
(thanks to https://github.com/leshow)
Breaking changes:
- minimum rust version is 1.59
1.2.0 - 2022-08-22
Added:
- the
reset
method to theStateMachine
, (thanks to https://github.com/eg-fxia)
Breaking changes:
- minimum rust version is 1.49
Updates:
pin_project
has been updated to0.12
criterion
has been updated to0.3.6
1.1.0 - 2021-09-18
Fixes:
- fix
FullJittered
implementation: the exponential behavior was not being applied
Updates:
pin_project
andrand
has been updated to the latest versions
Breaking changes:
- minimum rust version is 1.45.0
1.0.0 - 2020-08-17
Breaking changes:
- use rust 2018 edition
- use
std::future::Future
andfutures==0.3
, supportingasync
/await
- minimum rust version is 1.39.0
Improvements:
- drop
spin
dependency, useparking_lot
- add
futures-support
feature, to allow opt-out forfutures
support
0.3.1 - 2019-06-10
Fixes:
- add explicitly
dyn
definition to trait objects
0.3.0 - 2018-10-26
Breaking changes:
- remove
instrument::NoopInstrument
, use()
instead. - added optional feature
parking_lot_mutex
when it exists the crateparking_lot
would be using forMutex
instead of the defaultspin
.
0.2.0 - 2018-09-10
Breaking changes:
success_rate
policy now acceptsmin_request_threshold
.- the
CircuitBreaker
turned into a trait which implementscall
andcall_with
methods. - the trait
Callable
was removed
Improvements:
- remove
tokio-timer
dependency. - use spin lock instead
std::sync::Mutex