1 unstable release

0.3.0 Dec 18, 2024

#50 in #network

Download history 165/week @ 2024-12-18 4/week @ 2025-01-01

169 downloads per month
Used in netsim

MIT OR BSD-3-Clause

7KB
117 lines

netsim

netsim is a Rust library which allows you to:

  • Run tests in network-isolated threads.
  • Test networking code on simulated networks.
  • Capture and inspect packets produced by your code.
  • Inject and meddle with network packets.

Examples

See the examples directory in this repo.

Limitations

netsim currently only supports Linux since it makes use of the Linux containerization APIs.

License

MIT or BSD-3-Clause at your option.

Dependencies

~205–640KB
~15K SLoC