Closed AurevoirXavier closed 3 years ago
I'd appreciate if you can add CI build run for no_std as well!
Could you explain a bit on the motivation for no std support? What part of the crate is still useful without std? Why does HashMap have to change to BTreeMap?
Could you explain a bit on the motivation for no std support? What part of the crate is still useful without std? Why does HashMap have to change to BTreeMap?
Reader
/Tokenizer
/serde
/serde_json
not available in no-std.HashMap
under alloc
. And we use BTreeMap
to replace in general.I'd appreciate if you can add CI build run for no_std as well!
Okay.
Interesting, why the CI failed?
cargo test --no-default-features
passed locally.
Please remove check and test command in CI, and add build.
Please remove check and test command in CI, and add build.
Please review.
CI is failing!
CI is failing!
I see. cargo-hack
is pretty strict.
I revamp my old implementation #211.
Reader
/Tokenizer
/serde
/serde_json
should be enabled by--features full-serde
.Writer
in no-std, because I found it was used insignature
.Error::FromUtf8Error
removed, cause can't find any usage of it.HashMap
change toBTreeMap
for no-std. !!BREAKING change!!@sorpaas