Nadrieril

Results 219 comments of Nadrieril

Thanks for the report :) This is being worked on as we speak: https://github.com/Nadrieril/dhall-rust/pull/214

The best would be if we could support that in `serde_dhall`. As far as I can see that's not possible sadly. (It might be possible with [specialization](https://github.com/rust-lang/rust/issues/31844#issuecomment-727659061) maybe). The `dhall`...

@L-as I've written [this test](https://github.com/Nadrieril/dhall-rust/blob/11ff03a8113580244ced04a8b370ab6192b8e413/dhall/tests/misc.rs) that does something like what you want. It shouldn't change too much, and definitely not every release. We'll keep this test updated, so this should...

Thanks for the reproducing test case! Renaming is done completely transparently by serde. If you don't use `StaticType`, then renaming should just work. However if you do derive StaticType automatically,...

I see. From what I read, `reqwest::get` and `reqwest::Client` are accessible in wasm, but only as async functions. So I'd need to make import resolution async. I've been wanting to...

Could you try running your code with https://github.com/Nadrieril/dhall-rust/pull/167 ? I removed the use of reqwest's blocking feature, but there might be other issues that prevent building on wasm

Ugh ok, turns out hyper and tokio don't support wasm. The `wasm` branch builds with `wasm-pack` now. Can you try it? You seem to have another error related to parsing...

Ah, I never tried compiling on windows. I think I remember that windows doesn't support symlinks; what do you see in `dhall/src/syntax/text/dhall.abnf`? Does it work if you manually remove `dhall/src/syntax/text/dhall.abnf`...

Another potential issue is line endings: git tries to be clever with line endings on different platforms and that might break the abnf parser. But as far as I can...