[package]
edition = "2021"
name = "badnet"
version = "0.3.0"
authors = ["Grayson Head <grayson@graysonhead.net>"]
build = false
exclude = [
".github/*",
"flake.lock",
"flake.nix",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Emulation of terrible networks for unit tests and more.
"""
homepage = "https://github.com/graysonhead/badnet"
readme = "README.md"
license = "MIT"
repository = "https://github.com/graysonhead/badnet"
[lib]
name = "badnet"
path = "src/lib.rs"
[[bin]]
name = "badnet"
path = "src/main.rs"
[[example]]
name = "bad_network"
path = "examples/bad_network.rs"
[[example]]
name = "dynamic_impairment"
path = "examples/dynamic_impairment.rs"
[[example]]
name = "latency"
path = "examples/latency.rs"
[[example]]
name = "packet_loss"
path = "examples/packet_loss.rs"
[[example]]
name = "reorder"
path = "examples/reorder.rs"
[[test]]
name = "corrupt"
path = "tests/corrupt.rs"
[[test]]
name = "drop"
path = "tests/drop.rs"
[[test]]
name = "duplicate"
path = "tests/duplicate.rs"
[[test]]
name = "gap"
path = "tests/gap.rs"
[[test]]
name = "isolation"
path = "tests/isolation.rs"
[[test]]
name = "loss"
path = "tests/loss.rs"
[[test]]
name = "loss_ge"
path = "tests/loss_ge.rs"
[[test]]
name = "reconfigure"
path = "tests/reconfigure.rs"
[[test]]
name = "reorder"
path = "tests/reorder.rs"
[dependencies]