chokepoint 0.2.0

Generic stream transformer to simulate traffic / network congestion
Documentation
# chokepoint

[![Crates.io](https://img.shields.io/crates/v/chokepoint)](https://crates.io/crates/chokepoint)
[![](https://docs.rs/chokepoint/badge.svg)](https://docs.rs/chokepoint)
[![License](https://img.shields.io/crates/l/chokepoint?color=informational&logo=mpl-2)](/LICENSE)

A generic `futures::Stream` and `futures::Sink` transformer that can be used to "shape traffic", e.g. to simulate
network conditions.

Supports various simulated network conditions, such as:
- Delay (using a user provided function)
- Packet loss
- Packet reordering
- Packet corruption
- Packet duplication
- Bandwidth limiting

See [`TrafficShaper`] for more information.

License: MPL-2.0