Sean McArthur
a22dabd093
fix(server): change Builder window size methods to be by-value
...
Closes #1814
2019-08-20 17:45:01 -07:00
Sean McArthur
b3774bd6d3
chore(dependencies): update h2's trailer signature
2019-08-20 17:34:36 -07:00
Sean McArthur
fc784913a3
chore(dependencies): update to newer h2
2019-08-20 16:24:34 -07:00
Sean McArthur
2d525aaae4
chore(dependencies): update to want 0.3
2019-08-20 12:02:05 -07:00
Lucio Franco
ec520d5602
feat(service): use tower_service::Service for hyper::service
2019-08-20 12:01:06 -07:00
Sean McArthur
53a437c382
chore(tests): fixup re-enabled tests
2019-08-19 17:55:37 -07:00
Jakub Wieczorek
821fa03c2a
test(client): Uncomment failing tests and make them #[ignore]d.
2019-08-19 16:35:01 -07:00
Jakub Wieczorek
b831ae1870
test(server): Update and re-enable the tests/server.rs test
...
These tests were temporarily disabled during the migration to the
`std::future::Future` type that's part of the stable Rust now.
This commit updates the tests after the breaking changes and makes them
pass again.
2019-08-19 16:35:01 -07:00
Sean McArthur
750ee95a7c
chore(body): fix missing SizeHint import
2019-08-19 16:34:37 -07:00
Sean McArthur
292bb5f2b2
chore(dependencies): update to futures alpha 18
...
Closes #1897
2019-08-19 16:30:13 -07:00
Sean McArthur
7508bd87b0
refactor(client): restore handshake to by-ref
2019-08-19 16:10:57 -07:00
Sean McArthur
41f4173615
refactor(http2): re-enable http2 client and server support
2019-08-19 15:55:49 -07:00
Douman
4920f5e264
chore(dependencies): Upgrade tokio
2019-08-19 09:00:21 -07:00
Alex Gaynor
c1d40f30b5
chore(dependencies): Bump spmc, since 0.2 was yanked
2019-08-17 11:51:57 -07:00
Kyle Huey
a503f8b336
fix(client): impl<T: Connect> Connect for Box<T> ( #1889 )
2019-08-14 14:10:40 -07:00
Alex Gaynor
7f1b5f52ba
chore(dependencies): update tokio to v0.2.0-alpha.1
...
Fixes #1893
2019-08-14 11:56:52 -07:00
Yotam Ofek
9d5299b655
refactor(server): work around deprecation of poll_accept method in tokio ( #1890 )
2019-08-14 11:46:49 -07:00
Sean McArthur
a543c8eef2
test(body): remove concat test for Body
2019-07-23 11:07:06 -07:00
Sean McArthur
46749c14c6
test(client): fix background thread panics
2019-07-23 11:03:14 -07:00
Weihang Lo
74195bc17b
test(end_to_end): ignore unimplemented h2 benchmarks
...
Signed-off-by: Weihang Lo <me@weihanglo.tw >
2019-07-23 10:53:03 -07:00
Weihang Lo
4f2abd81e8
test(benches): update end to end benchmark to async/await
...
Signed-off-by: Weihang Lo <me@weihanglo.tw >
2019-07-23 10:53:03 -07:00
Weihang Lo
fb880c6295
test(benches): uncomment deny warning attr
2019-07-23 10:53:03 -07:00
Jakub Wieczorek
d683e13ecb
test(client): Re-enable the tests/client.rs test
...
These tests were temporarily disabled during the migration to the
`std::future::Future` type that's part of the stable Rust now.
This commit updates the tests after the breaking changes and makes them
pass again.
2019-07-23 10:22:26 -07:00
Daiki Mizukami
0d3cbe28fc
refactor(rt): remove re-export of tokio::main ( #1879 )
...
Closes #1878 .
BREAKING CHANGE: Replace all usage of `rt::main` with `tokio::main`.
2019-07-22 10:06:36 -07:00
Sean McArthur
1d00bb29d4
chore(client): re-enable client's custom executor config
2019-07-19 14:18:10 -07:00
Gurwinder Singh
283522b15a
chore(dependencies): Upgrade futures version ( #1877 )
2019-07-18 11:11:49 -07:00
Weihang Lo
db86e554d5
test(benches): update server benchmark to async/await
2019-07-17 10:57:51 -07:00
Weihang Lo
63a8f26583
test(benches): update pipeline benchmark to async/await
2019-07-17 10:57:51 -07:00
Weihang Lo
ed10ffaef3
test(examples): uncomment re-enabled examples
2019-07-16 17:45:53 -07:00
Sean McArthur
1f6575279e
test(h1): re-enable the proto::h1::io tests
2019-07-16 14:22:17 -07:00
Weihang Lo
9ae1873756
docs(examples): formatting and refactoring
2019-07-16 10:08:22 -07:00
Weihang Lo
da187b54e8
docs(examples): move web_api to examples folder
2019-07-16 10:08:22 -07:00
Weihang Lo
031036c2e7
docs(examples): fix web_api shared client lifetime issue
2019-07-16 10:08:22 -07:00
Weihang Lo
e8c19fea4c
docs(examples): update send_file example to async/await
2019-07-16 10:08:22 -07:00
messense
524a453b6f
docs(examples): Update web_api example to use async await
2019-07-16 10:08:22 -07:00
Weihang Lo
7cdfd3d974
docs(examples): update upgrade example to async/await
2019-07-15 11:35:33 -07:00
Weihang Lo
39471d7e5e
docs(examples): update single_threaded example to async/await
2019-07-15 11:35:33 -07:00
Weihang Lo
22bd31c68f
docs(examples): update state example to async/await
2019-07-15 11:35:33 -07:00
Weihang Lo
af78fd3672
docs(examples): update proxy example to async/await
2019-07-15 11:35:33 -07:00
Weihang Lo
c71abe5c20
docs(client): doc tests to async/await
2019-07-15 11:21:16 -07:00
Weihang Lo
e90f0037d3
docs(client): HttpInfo doc test to async/await
2019-07-15 11:21:16 -07:00
Weihang Lo
e0c1090ca7
docs(client): send_request doc test to async/await
2019-07-15 11:21:16 -07:00
Weihang Lo
7c2622abef
docs(service): service_fn doc test to async/await
2019-07-15 11:21:16 -07:00
Weihang Lo
b3e337dd99
docs(service): make_service_fn doc test to async/await
2019-07-15 11:21:16 -07:00
Weihang Lo
e6a7e33cf4
docs(body): wrap_stream using futures_util
2019-07-15 11:21:16 -07:00
Weihang Lo
47407f5c01
docs(server): serve_connection doc test to async/await
2019-07-15 11:21:16 -07:00
Weihang Lo
ca10ca6284
docs(server): update `with_graceful_shutdown doc test
...
Signed-off-by: Weihang Lo <me@weihanglo.tw >
2019-07-15 11:21:16 -07:00
Weihang Lo
13afb6e0da
docs(server): doc test to async/await
2019-07-15 11:21:16 -07:00
Weihang Lo
87b4850694
docs(server): doc test of Builder to async future
...
Signed-off-by: Weihang Lo <me@weihanglo.tw >
2019-07-15 11:21:16 -07:00
Sean McArthur
5da17df97f
chore(lib): individually disable tests and examples that aren't updated
2019-07-12 13:44:03 -07:00