iperf3-rs 1.0.1

Rust API for libiperf with live iperf3 metrics export
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.93.0"
name = "iperf3-rs"
version = "1.0.1"
build = "build.rs"
links = "iperf"
include = [
    "/Cargo.lock",
    "/Cargo.toml",
    "/LICENSE",
    "/LICENSE-SORACOM",
    "/README.md",
    "/build.rs",
    "/iperf3/LICENSE",
    "/iperf3/Makefile.am",
    "/iperf3/Makefile.in",
    "/iperf3/aclocal.m4",
    "/iperf3/config/**",
    "/iperf3/configure",
    "/iperf3/configure.ac",
    "/iperf3/examples/Makefile.am",
    "/iperf3/examples/Makefile.in",
    "/iperf3/iperf3.spec.in",
    "/iperf3/src/**",
    "!/iperf3/src/private.pem",
    "!/iperf3/src/public.pem",
    "/native/**",
    "/rust-toolchain.toml",
    "/src/**",
    "/tests/integration_test.rs",
    "/tests/integration/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust API for libiperf with live iperf3 metrics export"
homepage = "https://github.com/mi2428/iperf3-rs"
documentation = "https://docs.rs/iperf3-rs"
readme = "README.md"
keywords = [
    "iperf3",
    "prometheus",
    "metrics",
    "observability",
    "bandwidth",
]
categories = [
    "network-programming",
    "api-bindings",
]
license = "MIT AND BSD-3-Clause-LBNL"
repository = "https://github.com/mi2428/iperf3-rs"

[features]
default = [
    "pushgateway",
    "serde",
]
openssl = []
pushgateway = [
    "dep:anyhow",
    "dep:reqwest",
    "dep:url",
]
serde = [
    "dep:serde",
    "dep:serde_json",
]

[lib]
name = "iperf3_rs"
path = "src/lib.rs"

[[bin]]
name = "iperf3-rs"
path = "src/main.rs"
required-features = [
    "pushgateway",
    "serde",
]

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[dependencies.anyhow]
version = "1"
optional = true

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.reqwest]
version = "0.12"
features = [
    "blocking",
    "rustls-tls-webpki-roots",
]
optional = true
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.url]
version = "2"
optional = true

[dev-dependencies.serde_json]
version = "1"

[build-dependencies.cc]
version = "1"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]

[profile.dist]
lto = "thin"
inherits = "release"