Closed yrashk closed 3 years ago
this issue also break some of my user that use cargo install xxxx
to install my app based on one of my lib that uses jmespath.
Can you fix the issue (with this PR or other) and do a release ?
Thanks
For anyone interested in this, I published in creates.io the fixes of this PR under the name jmespatch.
Cargo.toml:
jmespatch = "0.3.0"
This has been resolved in master. I will close off this PR
It fails to compile:
This happens because serde_json made
Error::syntax
andErrorCode
available only toserde_json
itself.Solution: make serde_json trigger an error we need
It's an ugly kludge but at least it works :) It creates a HashMap with a non-string key and passes this off to serde_json. It triggers the error we need.
This is unlikely to be a great solution long term, but at least it makes jmespath.rs compile without pinning it to 1.0.44 forever.