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 = "kcp2k"
version = "0.0.1-beta"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "kcp2k"
homepage = "https://kcp2k.github.io"
documentation = "https://kcp2k.github.io/doc/"
readme = "README.md"
license = "MIT"
repository = "https://github.com/xintujing/kcp2k"

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

[[example]]
name = "client"
path = "examples/client.rs"

[[example]]
name = "program"
path = "examples/program.rs"

[[example]]
name = "server"
path = "examples/server.rs"

[dependencies.bytes]
version = "1.9.0"

[dependencies.dashmap]
version = "6.1.0"

[dependencies.kcp]
version = "0.6.0"

[dependencies.rand]
version = "0.9.0-beta.1"

[dependencies.socket2]
version = "0.5.8"

[dependencies.tklog]
version = "0.2.7"