Re:Announcing Tokio 0.1
by masklinn on Wednesday January 11, 2017 @02:56PM
(#13376953)
FWIW there are third-party libraries which include that feature e.g. error_chain has a `quick_main` macro (working with its `error_chain!`-generated error, but I'm not sure it actually depends on it):
Alternatively it takes a few lines to bootstrap it by hand e.g. ripgrep uses this code to bootstrap:
https://github.com/BurntSushi/ripgrep/blob/master/src/main.r...
[ Parent
| on HN ]
There are no comments on this comment yet.