Oliver Gould
897bf84163
Use rustfmt to enforce consistent formatting
...
This change adds a .rustfmt.toml that includes ALL supported settings,
12 of which we have overridden to attempt to cater to our own
proclivities.
rustfmt is checked in the rust-nightly CI job.
2017-09-12 22:29:35 +00:00
Eliza Weisman
11de86b34e
Make Codec max frame length configurable ( #57 )
2017-09-11 12:56:40 -07:00
Carl Lerche
cd76aca6d4
Add test infrastructure to work directly with frames ( #56 )
...
This adds a `Codec` based testing API. This is a bit less annoying than writing
at the raw H2 wire protocol level...
2017-09-06 14:18:37 -07:00
Carl Lerche
0cc611df35
Add Codec::set_max_send_frame_size
2017-09-05 14:01:32 -07:00
Carl Lerche
b4fa5134f9
Data frame ( #50 )
...
* Rename DataFlag -> DataFlags
* Polish Data frame API
2017-09-05 10:00:05 -07:00
Carl Lerche
88d1de2da0
Expose Codec via an unstable flag ( #49 )
...
Exposes `Codec` using an unstable flag. This is useful for testing.
2017-09-03 16:17:05 -07:00