mirror of
https://github.com/EasyTier/kcp-sys.git
synced 2026-10-20 08:18:37 +00:00
CI / Lint (push) Canceled after 0s
CI / Linux arm64 (debug) (push) Canceled after 0s
CI / Linux arm64 (release) (push) Canceled after 0s
CI / Linux x64 (debug) (push) Canceled after 0s
CI / Linux x64 (release) (push) Canceled after 0s
CI / Windows arm64 (debug) (push) Canceled after 0s
CI / Windows arm64 (release) (push) Canceled after 0s
CI / Windows x64 (debug) (push) Canceled after 0s
CI / Windows x64 (release) (push) Canceled after 0s
CI / macOS arm64 (debug) (push) Canceled after 0s
CI / macOS arm64 (release) (push) Canceled after 0s
CI / macOS x64 (debug) (push) Canceled after 0s
CI / macOS x64 (release) (push) Canceled after 0s
CI / Cross aarch64-unknown-linux-musl (debug) (push) Canceled after 0s
CI / Cross riscv64gc-unknown-linux-musl (debug) (push) Canceled after 0s
CI / Cross x86_64-unknown-linux-musl (debug) (push) Canceled after 0s
CI / Cross aarch64-unknown-linux-musl (release) (push) Canceled after 0s
CI / Cross riscv64gc-unknown-linux-musl (release) (push) Canceled after 0s
CI / Cross x86_64-unknown-linux-musl (release) (push) Canceled after 0s
Remove the intermediateb37ee660dev-dependency and its duplicate compatibility cases. Keep the pre-negotiationd7427c22endpoint as the maintained legacy baseline. Flatten the single-use test macro into ordinary test functions and retain negotiation, bidirectional data, half-close, and duplicate SYN assertions. Protocol implementation files are unchanged. Validation: all 31 tests and strict Clippy pass.
37 lines
1.0 KiB
TOML
37 lines
1.0 KiB
TOML
[package]
|
|
name = "kcp-sys"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["sunsijie@buaa.edu.cn"]
|
|
description = "Safe bindings for KCP transport protocol"
|
|
repository = "https://github.com/EasyTier/kcp-sys"
|
|
readme = "README.md"
|
|
license = "MIT"
|
|
keywords = ["kcp", "bindings"]
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.95"
|
|
auto_impl = "1.2.1"
|
|
bitflags = "2.8.0"
|
|
bytes = "1"
|
|
dashmap = "6.1.0"
|
|
parking_lot = "0.12.3"
|
|
rand = "0.8.5"
|
|
thiserror = "2.0.11"
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-util = { version = "0.7.13" }
|
|
tracing = "0.1.41"
|
|
tracing-subscriber = "0.3.19"
|
|
zerocopy = { version = "0.7", features = ["derive", "simd"] }
|
|
|
|
[build-dependencies]
|
|
bindgen = { version = "0.72.1", default-features = false, features = [
|
|
"runtime",
|
|
] }
|
|
cc = "1.2.10"
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1", features = ["test-util"] }
|
|
# Run compatibility tests against the pre-negotiation implementation.
|
|
kcp-sys-legacy = { package = "kcp-sys", git = "https://github.com/EasyTier/kcp-sys.git", rev = "d7427c22d764deb1860a7d37acc446ed5033464c" }
|