We found that it's slow to load JSON when reading snap files. As described in [1], using from_slice instead of from_reader can fix this. Also, fix the error type being returned. 1. https://github.com/serde-rs/json/issues/160 Signed-off-by: Yi Wang <foxywang@tencent.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||