/** * Reading a `Cargo.toml` into plain data, for the build-input digest of a * crate-built source. * * A strict reader of the TOML cargo manifests are written in — tables, arrays of * tables, dotted and quoted keys, strings of all four kinds, arrays, inline * tables, booleans, and other scalars kept as their text. Anything else is a * refusal naming the line, never a skip: a dependency table read wrongly would * drop a path dependency from the digest, and a prebuild would then outlive a * change to code it links without anything reporting it. */ export type TomlValue = string | boolean | TomlValue[] | TomlTable; export interface TomlTable { [key: string]: TomlValue; } export declare function parseCargoToml(text: string, where: string): TomlTable; //# sourceMappingURL=cargo-toml.d.ts.map