Laurențiu Nicola

Results 687 comments of Laurențiu Nicola

@carllerche are catch handlers documented? I can't find anything about them. But if they work [like this](https://github.com/carllerche/tower-web/blob/master/examples/catch.rs#L21), I'm not sure how I could pass state from the route to the...

This seems to work, at least: ```rust use tower_web::extract::{Context, Extract, Immediate}; use tower_web::util::BufStream; impl Extract for http::Request { type Future = Immediate; fn extract(ctx: &Context) -> Self::Future { let mut...

It would be nice if that worked, but there shouldn't be (and I didn't see one) a magic limit of three arguments per handler.

Maybe... 1. Provide binary packages for each release 2. Implement an option to clone and link a dotfiles repository I wanted to make a PR for 2, but I wasn't...

Are you interested in a PR with `git2-rs` support? Not that I need it, I basically never reinstall my OS, and I try not to lose my `/home` anyway.

> How would that work? I was thinking of a `dotr clone URL` command that's basically `git clone` without requiring `git` to be installed. Maybe `dotr clone --link` which does...

> If you're doing clone then why not push afterwards, and commit etc. and it spirals into complexity, and you have to put an arbitrary limit somewhere... Just saying. :)...

The seems to be missing a failsafe check for Linux in order not to return less than 1.

See https://github.com/seanmonstar/num_cpus/pull/68.

Does an affinity mask of 0 mean that the process is not running?