18cad76e38
- Refactored connection engine with better state management - Improved muxer with enhanced protocol handling - Updated connection bridge and diagnostics - Added new network constants and configuration options - Enhanced session tracking and error handling - Updated dependencies in Cargo.toml
35 lines
1.1 KiB
TOML
35 lines
1.1 KiB
TOML
[package]
|
|
name = "netrunner-core"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
|
|
[dependencies]
|
|
chacha20poly1305 = "0.10.1"
|
|
x25519-dalek = { version = "2.0", features = ["static_secrets"] }
|
|
aead = { version = "0.5.2", features = ["bytes"] }
|
|
hkdf = "0.12"
|
|
hmac = "0.12"
|
|
sha2 = "0.10"
|
|
bytes = "1.5"
|
|
# core uses tokio's net/time/io/macros/rt/sync directly, so it must declare these
|
|
# features itself instead of relying on feature-unification from sibling crates
|
|
# (otherwise `cargo check -p netrunner-core` in isolation fails). Minimal set that
|
|
# compiles standalone:
|
|
# ["rt", "rt-multi-thread", "macros", "net", "time", "io-util", "sync"]
|
|
# "full" is used to stay consistent with the client crate; features are additive,
|
|
# so this does not change the whole-workspace build.
|
|
tokio = { version = "1.49.0", features = ["full"] }
|
|
rand = "0.10.0"
|
|
hex = "0.4.3"
|
|
tokio-util = { version = "0.7", features = ["rt"] }
|
|
async-trait = "0.1.89"
|
|
dashmap = "6.1.0"
|
|
arc-swap = "1"
|
|
socket2 = { version = "0.5", features = ["all"] }
|
|
libc = "0.2"
|
|
netrunner-logger = { path = "../tools/log" }
|
|
tracing = "0.1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|