/** * SMI-1306: Rust Build File Parsers * * Parses Cargo.toml files to extract dependency information. * Extracted from rust.ts for better modularity. * * @see docs/internal/architecture/multi-language-analysis.md */ /** * Cargo.toml dependency information */ export interface CargoDependency { /** Crate name */ name: string; /** Version specifier */ version: string; /** Whether this is a dev dependency */ isDev: boolean; } /** * Parse Cargo.toml to extract dependencies * * @param content - Content of Cargo.toml file * @returns Array of dependencies with name, version, and isDev flag * * @example * ```typescript * const deps = parseCargoToml(cargoTomlContent) * console.log(deps) // [{ name: 'serde', version: '1.0', isDev: false }] * ``` */ export declare function parseCargoToml(content: string): CargoDependency[]; //# sourceMappingURL=rust-parsers.d.ts.map