irtt-server gains address_family_available() as a public helper, and irtt-rs picks up the server zero-argument defaults and single-family fallback that depend on it.
69 lines
2.0 KiB
TOML
69 lines
2.0 KiB
TOML
[package]
|
|
name = "irtt-rs"
|
|
version = "0.6.1"
|
|
description = "IRTT-compatible client, TUI, and server applications"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
readme = "README.md"
|
|
keywords = ["irtt", "networking", "latency", "rtt"]
|
|
categories = ["command-line-utilities", "network-programming"]
|
|
|
|
[lib]
|
|
name = "irtt_app"
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "irtt-rs"
|
|
path = "src/bin/irtt-rs.rs"
|
|
|
|
[[bin]]
|
|
name = "irtt-client"
|
|
path = "src/bin/irtt-client.rs"
|
|
required-features = ["client"]
|
|
# This applet shares its name with the irtt-client library crate, whose rustdoc
|
|
# output it would otherwise collide with.
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "irtt-tui"
|
|
path = "src/bin/irtt-tui.rs"
|
|
required-features = ["tui"]
|
|
|
|
[[bin]]
|
|
name = "irtt-server"
|
|
path = "src/bin/irtt-server.rs"
|
|
required-features = ["server"]
|
|
# This applet shares its name with the irtt-server library crate, whose rustdoc
|
|
# output it would otherwise collide with.
|
|
doc = false
|
|
|
|
[features]
|
|
default = ["client", "server", "tui"]
|
|
client = ["dep:irtt-client", "irtt-client/ancillary", "irtt-client/tokio", "dep:irtt-proto", "dep:irtt-stats"]
|
|
server = ["dep:irtt-server", "dep:tokio"]
|
|
tui =["dep:irtt-client", "irtt-client/ancillary", "irtt-client/tokio", "dep:irtt-proto", "dep:irtt-stats", "dep:ratatui", "dep:crossterm"]
|
|
|
|
[dependencies]
|
|
clap = { version = "4.6.6", features = ["derive"] }
|
|
crossterm = { version = "0.29.0", optional = true }
|
|
ctrlc = "3.5.2"
|
|
irtt-client = { workspace = true, optional = true }
|
|
irtt-proto = { workspace = true, optional = true }
|
|
irtt-server = { workspace = true, optional = true }
|
|
irtt-stats = { workspace = true, optional = true }
|
|
ratatui = { version = "0.30.2", optional = true }
|
|
tokio = { version = "1.53.1", default-features = false, features = ["rt", "time"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
irtt-server.workspace = true
|
|
tokio = { version = "1.53.1", default-features = false, features = ["rt", "sync"] }
|
|
|
|
[profile.release]
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = "symbols"
|