Migrate to futures 0.3 from 0.1 #41
This does cause us not to follow https://github.com/tikv/rfcs/pull/7/files#diff-3333e76d7edf3ed642c27ac78f1795a6R25 until these features are stabilized.
That said: The RFC isn't accepted.
I think it's fine. What do you think @sunxiaoguang?
brson left a comment
I am approving this because you need to get it landed, but it's hard to review. I don't understand either futures 0.1 or 0.3 well enough, nor do I know this code base.
I read through it all. The mechanical stuff seems correct, but there's so much that it's hard to pay attention to every line.
Obviously the compat module is the most important bit here. The SendAllCompat type is tough. I ready through all the docs of all the methods it calls, and I guess it's ok.
The only use of it though is followed by a TODO that says "I think that is ok". I can not determine this any better than you can.