pub fn parse_package(source: &str) -> Result<TopologyPackage>Expand description
Parses a .simtopo package.
The package format is intentionally section based. graph: contains the
topology text DSL, tests: contains test lines or shorthand test bodies,
metadata: contains meta lines or key=value shorthand, and
capabilities: contains one capability name per non-empty line.