Commit graph

225 commits

Author SHA1 Message Date
Tangent Wantwight
e6d8b58492 prettify the chunker match blocks a bit 2019-11-16 15:46:25 -05:00
Tangent Wantwight
d3b147f8ea Take advantage of NLL to be able to state-transition & return directly in chunker 2019-11-16 15:19:14 -05:00
Tangent Wantwight
7485119028 remove an unneeded test 2019-11-16 14:22:53 -05:00
Tangent Wantwight
7e85a8750b Removed old Tokio version from Cargo.toml 2019-11-16 13:27:58 -05:00
Tangent Wantwight
4abd26ddbf cleanup 2019-11-16 13:17:44 -05:00
Tangent Wantwight
58ca126a02 remove rust-toolchain now that async/await's stable 2019-11-16 13:17:37 -05:00
a5baa39014 Fix server kicking clients off when a source left 2019-10-21 17:11:09 -04:00
32c72e1ee8 Port send subcommand to core futures & alpha hyper (fixes --throttle) 2019-10-21 17:10:52 -04:00
8de9ffdb21 fixup async parser deletion 2019-10-21 15:08:45 -04:00
ee818dbfd8 Run dump command on a runtime so it works properly. 2019-10-21 04:04:11 -04:00
d9e9b9e49c Give stream_parser an async next() method, making async_parser no longer interesting. 2019-10-21 04:03:52 -04:00
bc8e45936b Convert parser & chunker APIs to work with Futures 0.3-style streams 2019-10-21 03:18:51 -04:00
eda2e4f7be Remove EbmlEventSource trait in favor of concrete EbmlStreamingParser 2019-10-21 01:20:14 -04:00
fa85939c0b Cleanup stream_parser using some async_parser approaches 2019-10-21 00:19:20 -04:00
4a0bf8ee8c Write a test for stream_parser 2019-10-21 00:03:30 -04:00
710af7e1d7 feeder-based parser proof-of-concept adjusted to work with the lifetime FromEbml trait 2019-10-20 02:22:36 -04:00
a9b66b6297 Remove repeated code in decode_element 2019-10-20 00:25:35 -04:00
d894a139f2 make return value for check_space more structured/informative 2019-10-20 00:21:09 -04:00
e1aeeb8106 pin to nightly for now 2019-10-16 23:53:21 -04:00
ccbb566d85 Remove unused module 2019-10-16 23:53:09 -04:00
8a3f478c38 Give Throttle a ::new() function for now 2019-10-16 00:16:47 -04:00
49fa0ff7e0 make error descriptions more useful 2019-10-15 23:36:23 -04:00
3a6ca629ca Use core futures for the fixers; try different approach to timecode fixer 2019-10-11 00:28:08 -04:00
cfb56f1281 Convert channel.rs to futures-preview 2019-10-08 23:35:13 -04:00
5cd28a6cdc use core Never type 2019-10-08 21:44:37 -04:00
90469e3fbd Bring in futures-preview to begin porting to core futures. 2019-10-08 21:44:23 -04:00
03ee74b6da Fix dyn syntax warning. 2019-09-23 16:34:28 -04:00
7d53f16a7b Refresh dependency versions 2019-09-23 16:34:12 -04:00
1ff8d10c10 Merge branch 'custom_error' 2019-07-07 20:46:45 -04:00
480fd1696a Use custom_error! for all Webmetro errors 2019-07-07 20:42:29 -04:00
6895cde14a derive EBML errors via custom_error!{} 2019-07-07 20:10:46 -04:00
e92ffb06a7 rephrase tests to not require PartialEq on errors 2019-07-07 19:54:55 -04:00
992f0be6be Merge branch 'edition_2018' 2019-07-07 19:46:07 -04:00
365c9f6515 Refresh dependency versions 2019-07-07 19:45:36 -04:00
eb5d206dd9 Use Rust 2018 Edition 2019-07-07 18:17:38 -04:00
87eaed9c82 cargo fix for Rust 2018 2019-07-07 18:17:38 -04:00
1c4ea2f3ed update documentation 2018-10-27 18:18:19 -04:00
7c1a2e48b0 Support arbitrary number of streams; bump version to reflect URL change 2018-10-27 18:13:18 -04:00
af1c3736be bump tokio-io version 2018-10-27 18:11:33 -04:00
f1c1114835 Remove unneeded struct 2018-10-21 22:29:36 -04:00
01bb2c2e19 Use warp framework for the relay_server 2018-10-21 19:19:27 -04:00
161c9de472 Make EbmlStreamingParser operate on Buf items instead of AsRef<u8> 2018-10-21 19:09:37 -04:00
a848502103 Factor out building a video/webm response. 2018-10-21 18:35:15 -04:00
9b9b6beb54 Use hyper::Body instead of a custom Payload type 2018-10-21 02:25:24 -04:00
26930b07e0 Fix webmetro send not exiting when stdin ends. 2018-10-21 02:22:46 -04:00
b64e3f4bac use Bytes for shared buffers in WebM chunks 2018-10-21 01:53:16 -04:00
5d25d5adb7 Have subcommands control launching the runtime. 2018-10-20 23:02:24 -04:00
713a7d4741 Be less "clever" in main.rs, don't twist everything into the runtime. 2018-10-20 22:06:42 -04:00
fe50663938 Merge branch 'hyper-0.12' 2018-10-20 20:55:04 -04:00
fdb329a779 update dependencies 2018-10-20 18:56:27 -04:00