Josh Leverette

Results 132 comments of Josh Leverette

Could we get this merged and released? I'm running into this limitation of the current `ruru` API right now.

I have to agree that calling `Vec::new()` shouldn't really affect performance since it doesn't cause heap allocations.

Whatever you may suspect, no tool installed into an environment should _ever_ generate an error every time completely unrelated commands are executed. I followed the instructions available at the time....

The main sequence was as follows: - update Visual Studio - figure out that not all VS tools were being exposed through a normal PowerShell prompt's PATH (such as `nmake`)...

I believe the problem is here: https://github.com/reproto/reproto/blob/master/lib/backend-doc/build.rs#L133 The `.display()` function _displays_ it correctly, but the backslashes are not escaped properly. Also, rather than just joining `out_path.display()` with `name` using `{}/{}`,...

Once the path is joined and you call `display()` on it, I think replacing individual backslashes with double-backslashes would suffice, and it would be [pretty easy to only do this...

Changing the code to use writeln!( themes, "const DOC_CSS_{}: &[u8] = include_bytes!(concat!(env!(\"OUT_DIR\"), \"/{}\"));", key_upper, name )?; worked just fine. `reproto` now compiles on Windows and `cargo test` doesn't report any...

I can, if you want, but this fix was mostly your idea, and it's tiny. Especially if or when stuff starts happening around issue #2, I may start really diving...

Ok, I opened a PR. The issues with building it were related to not having the `nmake` tool from VS2017 in my environment's PATH, which was fixed by using the...

Another style for writing the same endpoints above might be like this: ``` endpoint GET "https://example.com/cats/list" { list() -> [Cat]; listByBreed(breed: string) -> [Cat]; listByName(name: string) -> [Cat]; } endpoint...