Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add Rust 1.39 async/await feature to sapper? #31

Open
tarvos21 opened this issue Nov 8, 2019 · 3 comments
Open

Add Rust 1.39 async/await feature to sapper? #31

tarvos21 opened this issue Nov 8, 2019 · 3 comments

Comments

@tarvos21
Copy link

tarvos21 commented Nov 8, 2019

This week, Rust 1.39 release has the async/await feature, when it will be added to the Sapper web server?

@miketang84
Copy link
Owner

Sure! I am waiting the new http server crate based on new async-std.

@kalxd
Copy link

kalxd commented Nov 28, 2020

@daogangtang

我对比了hyper 0.10.16hyper 0.13.9,发现旧版的Handler trait已经被移除了,官网上的教程都是写异步函数。

看来我们需要自己定义类似Handler这样的trait?

想问问你有什么想法、思路?

@miketang84
Copy link
Owner

I am constructing superpoll and porting hyper to it, and then I will update sapper to this new hyper branch, but that shall be not soon.

https://github.com/daogangtang/superpoll
https://github.com/daogangtang/hyper

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants