Commit graph

25 commits

Author SHA1 Message Date
db96af2609
Add comment on cancellation 2022-09-13 12:05:42 +02:00
2305c2cf03
Use BytesMut instead of Vec<u8> in bytes_buf (extend is probably faster) 2022-09-13 11:31:19 +02:00
f022a77f97
Add documentation 2022-09-12 17:43:10 +02:00
b82ad70dd5
Correctly defuse cancellation on simple requests 2022-09-01 16:11:42 +02:00
4a59b73d7b
Add actual support for order tag 2022-09-01 12:46:33 +02:00
cd203f5708
Add OrderTag to Req and Resp, refactor errors 2022-09-01 12:15:50 +02:00
2c9d595da0
Remove useless phantom and pub(crate) 2022-08-31 22:19:40 +02:00
a0dac87e3b
Add Req::new 2022-07-22 15:16:50 +02:00
cbc21e40ac
Impose static lifetime on message and response 2022-07-22 14:45:28 +02:00
4825669293
Remove copy of serialized thing in encode 2022-07-22 14:38:03 +02:00
50358b944a
Cargo fmt; better adapt with_capacity_values 2022-07-22 13:48:43 +02:00
aa1b29d41a
Terminology: don't use the word "body" anymore, talk of "attached stream" 2022-07-22 13:44:48 +02:00
67ea3a48fa
Add Resp::into_parts 2022-07-22 13:40:06 +02:00
b9df442f03
Small optimization 2022-07-22 13:32:08 +02:00
0b71ca12f9
Clean up framing protocol 2022-07-22 12:45:38 +02:00
c358fe3c92
Hide streaming versions as much as possible 2022-07-22 10:55:37 +02:00
4934ed726d
Propose alternative API 2022-07-21 20:22:56 +02:00
7d148c7e76
One possibility, but I don't like it 2022-07-21 19:25:07 +02:00
44bbc1c00c
Rename AutoSerialize into SimpleMessage and refactor a bit 2022-07-21 19:05:51 +02:00
26989bba14
Use Bytes instead of Vec<u8> 2022-07-21 18:15:07 +02:00
f35fa7d18d
Move things around 2022-07-21 17:37:52 +02:00
f87dbe73dc
WIP v0.3.0 with changed API 2021-10-12 17:59:46 +02:00
609f0387ca Add ability to specify our public addr for people to contact us back 2020-12-11 15:53:59 +01:00
14d34e76f4 Documentate 2020-12-02 20:12:24 +01:00
d4de2ffc40 First commit 2020-12-02 13:30:47 +01:00