the-fourth-server 0.1.1

A lightweight tcp server/client pair for network programming
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"
name = "the-fourth-server"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight tcp server/client pair for network programming"
documentation = "https://docs.rs/the-fourth-server"
readme = "README.md"
keywords = [
    "tcp",
    "bincode",
    "tokio",
    "asynchronous",
    "binary",
]
categories = [
    "asynchronous",
    "network-programming",
    "web-programming",
]
license = "Apache-2.0"
repository = "https://github.com/KGAFT/the-fourth-server"

[lib]
name = "tfserver"
crate-type = ["rlib"]
path = "src/lib.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.bincode]
version = "2"
features = ["serde"]

[dependencies.futures-util]
version = "0.3"
features = ["sink"]

[dependencies.num_enum]
version = "0.7"

[dependencies.rand]
version = "0.9.2"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.sha2]
version = "0.11.0-rc.0"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-rustls]
version = "0.26.4"

[dependencies.tokio-util]
version = "0.7"
features = ["codec"]

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true