UNPKG

renovate

Version:

Automated dependency updates. Flexible so you don't need to be.

30 lines (29 loc) 828 B
export type RegistryFlavor = /** https://crates.io, supports rawgit access */ 'crates.io' /** https://cloudsmith.io, needs git clone */ | 'cloudsmith' /** unknown, assuming private git repository */ | 'other'; export interface RegistryInfo { flavor: RegistryFlavor; /** raw URL of the registry, as specified in cargo config */ rawUrl: string; /** parsed URL of the registry */ url: URL; /** whether the registry uses sparse indexing (rfc-2789) */ isSparse: boolean; /** path where the registry is cloned */ clonePath?: string; } export interface CrateRecord { vers: string; yanked: boolean; rust_version?: string; } export interface CrateMetadata { description: string | null; documentation: string | null; homepage: string | null; repository: string | null; }