[package]
edition = "2024"
rust-version = "1.89"
name = "linkem"
version = "0.2.0"
authors = ["Chainbound Developers <dev@chainbound.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A realistic network emulation library"
homepage = "https://github.com/chainbound/msg-rs"
readme = "README.md"
license = "MIT"
repository = "https://github.com/chainbound/msg-rs"
resolver = "2"
[package.metadata.docs.rs]
targets = [
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
]
[lib]
name = "linkem"
path = "src/lib.rs"
[[example]]
name = "bdp_throughput"
path = "examples/bdp_throughput.rs"
[[example]]
name = "sim_multi_region"
path = "examples/sim_multi_region.rs"
[[example]]
name = "tcp_tuning"
path = "examples/tcp_tuning.rs"
[dependencies]
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"net",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[target.'cfg(target_os = "linux")'.dependencies.futures]
version = "0.3"
[target.'cfg(target_os = "linux")'.dependencies.msg-socket]
version = "0.1.6"
[target.'cfg(target_os = "linux")'.dependencies.msg-transport]
version = "0.1.6"
[target.'cfg(target_os = "linux")'.dependencies.nix]
version = "0.30.1"
[target.'cfg(target_os = "linux")'.dependencies.rtnetlink]
version = "0.20.0"
[target.'cfg(target_os = "linux")'.dependencies.thiserror]
version = "2"
[target.'cfg(target_os = "linux")'.dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"net",
"io-util",
"macros",
"fs",
]
[target.'cfg(target_os = "linux")'.dependencies.tracing]
version = "0.1"