Commit graph

26 commits

Author SHA1 Message Date
8ab6256c3b
No longer need to derive Clone on message types
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
2022-09-13 12:12:55 +02:00
db96af2609
Add comment on cancellation
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
2022-09-13 12:05:42 +02:00
2305c2cf03
Use BytesMut instead of Vec<u8> in bytes_buf (extend is probably faster)
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
2022-09-13 11:31:19 +02:00
f022a77f97
Add documentation
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
2022-09-12 17:43:10 +02:00
b82ad70dd5
Correctly defuse cancellation on simple requests
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
2022-09-01 16:11:42 +02:00
4a59b73d7b
Add actual support for order tag
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
2022-09-01 12:46:33 +02:00
cd203f5708
Add OrderTag to Req and Resp, refactor errors
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
2022-09-01 12:15:50 +02:00
2c9d595da0
Remove useless phantom and pub(crate)
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
2022-08-31 22:19:40 +02:00
a0dac87e3b
Add Req::new
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-07-22 15:16:50 +02:00
cbc21e40ac
Impose static lifetime on message and response
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-07-22 14:45:28 +02:00
4825669293
Remove copy of serialized thing in encode
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-07-22 14:38:03 +02:00
50358b944a
Cargo fmt; better adapt with_capacity_values
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-07-22 13:48:43 +02:00
aa1b29d41a
Terminology: don't use the word "body" anymore, talk of "attached stream"
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-07-22 13:44:48 +02:00
67ea3a48fa
Add Resp::into_parts
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-07-22 13:40:06 +02:00
b9df442f03
Small optimization
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-07-22 13:32:08 +02:00
0b71ca12f9
Clean up framing protocol
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-07-22 12:45:38 +02:00
c358fe3c92
Hide streaming versions as much as possible
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-07-22 10:55:37 +02:00
4934ed726d
Propose alternative API
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
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
Some checks failed
continuous-integration/drone/push Build is failing
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