the-fourth-server 0.3.0

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.3.0"
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.async-tungstenite]
version = "0.34"

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

[dependencies.bytes]
version = "1.11"

[dependencies.futures-io]
version = "0.3.32"

[dependencies.futures-util]
version = "0.3"
features = [
    "sink",
    "io",
    "tokio-io",
    "futures-io",
    "io-compat",
]

[dependencies.num_enum]
version = "0.7"

[dependencies.pin-project]
version = "1"

[dependencies.rand]
version = "0.9"

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

[dependencies.sha2]
version = "0.10"

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

[dependencies.tokio-tungstenite]
version = "0.29"

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

[dependencies.ws_stream_wasm]
version = "0.7"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-rustls]
version = "0.26"

[target.'cfg(target_arch = "wasm32")'.dependencies.rustls]
version = "0.23"
features = ["ring"]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.tokio-rustls]
version = "0.26"
default-features = false

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