Update serializer to indent json before writing to fileReason: As of now libocispec rust binding's Spec::save is dumping all the json in a single line with no indentation at all. This PR fixes that.
Update docs : Encourage old cargo users to point libocispec dependency to main insead of master.Reason:
Cargo version older then 0.51.0 would fail even for
Update serializer to indent json before writing to file
Reason:
As of now libocispec rust binding'sSpec::save
is dumping all the json in a single line with no indentation at all. This PR fixes that.Update docs : Encourage old cargo users to point libocispec dependency to
main
insead ofmaster
.Reason:
Cargo version older then0.51.0
would fail even forwith error