d912844543
* WIP: QA network details * Initial implementation to multiplex socks5-client sends * Introduce TransmissionLane enum * WIP * WIP: client requests connection id * WIP * mulitplex somewhat done * Remove closed lanes * WIP: connection handling over ws * Remove unused published active connections shared data * Start on status timer * Max number of connections, and prune * Some tidy * Remove commented out code and tweak log * Tidy * Tweak log output * Rename to TransmissionBuffer * Use number of msg sent instead of time to rank age of lanes * Create client-connections crate * Remove waker call that probably are not needed * Extract out some types from real traffic stream module * Revert to develop qa.env * Tweak comments, tidy for getting ready to merge * Update changelog * wasm client compile fixes * rustfmt
26 lines
1.0 KiB
TOML
26 lines
1.0 KiB
TOML
[package]
|
|
name = "proxy-helpers"
|
|
version = "0.1.0"
|
|
authors = ["Jedrzej Stuczynski <andrew@nymtech.net>"]
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
bytes = "1.0"
|
|
tokio = { version = "1.21.2", features = [ "net", "io-util", "sync", "macros", "time", "rt-multi-thread" ] }
|
|
tokio-util = { version = "0.7.3", features = [ "io" ] } # reason for getting this guy is to to able to port to tokio 1.X more quickly by being able to use
|
|
# their `read_buf` [from the util crate] replacement rather than having to rethink/reimplement `AvailableReader` with the new AsyncRead trait definition.
|
|
# In the long run, the dependency should probably get removed in favour of pure-tokio implementation, but for time being it's fine.
|
|
futures = "0.3"
|
|
log = "0.4"
|
|
|
|
# internal
|
|
client-connections = { path = "../../client-connections" }
|
|
ordered-buffer = { path = "../ordered-buffer" }
|
|
socks5-requests = { path = "../requests" }
|
|
task = { path = "../../task" }
|
|
|
|
[dev-dependencies]
|
|
tokio-test = "0.4.2"
|