json-comments-rs is to support .devcontainer.json by stripping out the comments in JSON, I think json5-rs would be a bit better. for now we can try replacing it and keep the upper level interface intact to make sure that the current test case is 100% passable.
After careful research, json5-rs hasn't been updated in 2 years, and judging from feedback in Issues, performance is 50% slower than serde (not verified personally).
json-comments-rs
is to support .devcontainer.json by stripping out the comments in JSON, I thinkjson5-rs
would be a bit better. for now we can try replacing it and keep the upper level interface intact to make sure that the current test case is 100% passable.The refactoring will involve the following files:
Cargo.toml
dependenciessrc/devcontainer/de.rs