tcpbin 0.1.2

Simple library/CLI providing TCP echo server
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.91"
name = "tcpbin"
version = "0.1.2"
build = false
include = [
    "**/*.rs",
    "Cargo.toml",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Simple library/CLI providing TCP echo server"
readme = "README.md"
license = "BSL-1.0"
repository = "https://github.com/DoumanAsh/tcpbin"

[package.metadata.docs.rs]
features = ["tokio"]

[features]
cli = [
    "arg",
    "tokio?/macros",
]
tokio = ["dep:tokio"]
tracing = ["dep:tracing"]

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

[[bin]]
name = "tcpbin"
path = "src/main.rs"
required-features = ["cli"]

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

[dependencies.arg]
version = "0.4"
features = ["std"]
optional = true

[dependencies.ha_proxy_protocol]
version = "0.2.3"

[dependencies.tokio]
version = "1"
features = [
    "net",
    "time",
    "io-util",
    "rt",
]
optional = true

[dependencies.tracing]
version = "0.1"
optional = true

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
debug = 0
strip = true