udp: store torrents with few peers without an extra heap alloc

This commit is contained in:
Joakim Frostegård 2024-01-20 09:40:09 +01:00
parent d8bd964a57
commit e77c9f46e7
4 changed files with 269 additions and 138 deletions

View file

@ -32,6 +32,7 @@ aquatic_toml_config.workspace = true
aquatic_udp_protocol.workspace = true
anyhow = "1"
arrayvec = "0.7"
blake3 = "1"
cfg-if = "1"
compact_str = "0.7"