fromToml

Parse a NetworkSpec from a TOML string produced by toToml.