# 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 = "2021"
rust-version = "1.85"
name = "irtt-client"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "IRTT-compatible Rust client library"
homepage = "https://github.com/Lochnair/irtt-rs"
readme = "README.md"
keywords = [
    "irtt",
    "networking",
    "latency",
    "rtt",
]
categories = ["network-programming"]
license = "Apache-2.0"
repository = "https://github.com/Lochnair/irtt-rs"

[package.metadata.docs.rs]
all-features = true

[features]
ancillary = ["dep:libc"]
default = []

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

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

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

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

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

[dependencies.irtt-proto]
version = "0.4.0"

[dependencies.libc]
version = "0.2.186"
optional = true

[dependencies.socket2]
version = "0.6.4"
features = ["all"]

[dependencies.thiserror]
version = "2.0.18"
