serde_json
is producing a quote-escaped version of JSON when to_string
is called. Is there a way to prevent this behavior?
include_bytes!
should work just fine. But what if I'd like to include some extra build steps?
include_bytes!
in it. but could it be done more easily directly in a macro?
error: Could not compile `tiny-keccak`.
Caused by:
process didn't exit successfully: `rustc --crate-name tiny_keccak /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/tiny-keccak-1.4.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=02e0439983b6af98 -C extra-filename=-02e0439983b6af98 --out-dir /usr/src/artgraph/target/debug/deps -L dependency=/usr/src/artgraph/target/debug/deps --extern crunchy=/usr/src/artgraph/target/debug/deps/libcrunchy-53ad13544d0ada53.rlib --cap-lints allow` (signal: 9, SIGKILL: kill)
warning: build failed, waiting for other jobs to finish...
error: build failed
The command '/bin/sh -c cargo build --verbose' returned a non-zero code: 101