import type { PolicyShape } from "../policy.js"; /** * Configuration for the CargoTomlRequired policy. * * @alpha */ export interface CargoTomlRequiredConfig { /** * Fields that must exist in the [package] section. * @defaultValue ["license", "description"] */ required?: string[]; /** * Minimum Rust edition to require (e.g., "2021"). * If set, the `edition` field must exist and be >= this value. */ minimumEdition?: string; /** * If true, require the `rust-version` field (MSRV) to be set. * @defaultValue false */ requireRustVersion?: boolean; /** * Specific field values to enforce. Keys are field names, values are expected values. */ expectedValues?: Record; } /** * A policy that enforces required fields exist in Cargo.toml [package] section. * * @alpha */ export declare const CargoTomlRequired: PolicyShape; //# sourceMappingURL=CargoTomlRequired.d.ts.map