I am trying to modify the kitties pallet(https://docs.substrate.io/tutorials/v3/kitties/pt1/) in order to read some json data from an already existing file.
So, I need to read the contents of the file and parse json from it. For this I am following https://github.com/nightraiser/daily-code-rust/blob/master/json-reading/src/main.rs
But this code is only compiling when I am running
SKIP_WASM_BUILD=1 cargo build --release. On running
cargo build --release I am getting the below error
I am a beginner in Rust. Can someone please guide me how can I make this run or is there any other package for this task that I can use?