Open haarts opened 7 months ago
Same thing here. For a simple example project with just did-key dependency, it does not compile. I get the same error as OP.
However, in a more complex project, it works. With some investigation, the complex project has another dependency that also depends on form_urlencoded
with the alloc
feature enabled, and given how cargo feature unioning works it makes sense that it works.
This trivial program doesn't compile:
The output is:
Adding the form_urlencoded crate explicitly fixes the error:
I doubt this is expected behaviour. Notably I was able to run the test of this repo without this issue and no mention of
alloc
was made anywhere.Crate version 0.2.1.