Skip to main content

requirements_json

Function requirements_json 

Source
pub fn requirements_json(spec: &str) -> Result<String, ComposeError>
Expand description

requirements across a JSON boundary.

§Errors

Returns where in the spec, and why, it does not parse.

§Panics

Never: requirements always serialize.