Commit Graph
20 Commits
Author SHA1 Message Date
Joakim Frostegård 68c0b17bfc Remove rust-version directives
It is not being properly kept track of / tested
2026-05-08 10:28:26 +02:00
Joakim Frostegård 67ad15eb7f Update criterion dependency 2026-05-08 10:28:26 +02:00
Joakim Frostegård dd813a3c24 Update some ws dependencies 2026-05-08 10:28:26 +02:00
Joakim Frostegård 3d6c60cb08 Update some ws dependencies 2026-05-08 10:28:26 +02:00
Joakim Frostegård 34902048d9 Update async-tungstenite version 2025-01-12 22:35:07 +01:00
Joakim Frostegård ea06ffd513 Update to hashbrown v0.15 2025-01-12 22:10:29 +01:00
Joakim Frostegård d1426d3ac5 ws protocol: don't heap-allocate in serialize_20_bytes 2024-02-04 00:14:13 +01:00
Joakim Frostegård 3c906f48ee ws protocol: make tungstenite integration optional feature 2024-01-29 19:49:05 +01:00
Joakim Frostegård a0c79970fe Add separate READMEs for bencher, peer_id and all protocol crates 2024-01-27 18:05:21 +01:00
Joakim Frostegård f050467c2a ws: further refactor of swarm worker to improve readability 2024-01-25 23:24:10 +01:00
Joakim Frostegård c32fa7cc2b Fix ws clippy warnings 2024-01-20 10:27:15 +01:00
Joakim Frostegård 5401eaf85f Run cargo clippy --fix and cargo fmt 2024-01-20 09:56:14 +01:00
Joakim Frostegård 0dae7fd533 ws protocol: remove glob exports; adjust dependent crates 2024-01-08 20:16:46 +01:00
Joakim Frostegård 3042539101 update ws dependencies as well as http rustls dependency 2024-01-07 10:40:50 +01:00
Joakim FrostegårdandGitHub fe5ccf6646 ws: refactor, bug fixes, improvements (#155)
- split swarm worker into two modules
- split socket worker into two modules
- keep track of which offers peers have sent and only allow matching
answers
- always clean up after closing connection
- use channel for telling connections to close
- move some logic into new ConnectionRunner struct
- use slotmap for connection reference storage
- fix double counting of error responses
- actually close connections that take too long to send responses to
- remove announced_info_hashes entry on AnnounceEvent::Stopped
2023-11-09 18:06:21 +01:00
Joakim Frostegård 577161e540 ws protocol: simplify code for AnnounceAction and ScrapeAction 2023-10-30 19:49:45 +01:00
Joakim Frostegård d94936a50b ws: require offer/answer sdp field to be String, fix related code 2023-10-30 19:37:25 +01:00
Joakim Frostegård c37bf89650 ws: include "type" field in RtcOffer and RtcAnswer 2023-10-30 19:34:24 +01:00
Joakim Frostegård 0789f7ec3b improve ws protocol struct naming and documentation 2023-10-30 19:13:46 +01:00
Joakim Frostegård 9b032f7e24 Move all crates to new crates dir 2023-10-18 23:53:41 +02:00