renovate/lib/modules/manager/cargo/index.ts

23 lines
774 B
TypeScript

import type { Category } from '../../../constants';
import { CrateDatasource } from '../../datasource/crate';
import * as cargoVersioning from '../../versioning/cargo';
import { updateArtifacts } from './artifacts';
import { extractPackageFile } from './extract';
export { bumpPackageVersion } from './update';
export { getRangeStrategy } from './range';
export { updateLockedDependency } from './update-locked';
export const supportsLockFileMaintenance = true;
export { extractPackageFile, updateArtifacts };
export const defaultConfig = {
commitMessageTopic: 'Rust crate {{depName}}',
fileMatch: ['(^|/)Cargo\\.toml$'],
versioning: cargoVersioning.id,
};
export const categories: Category[] = ['rust'];
export const supportedDatasources = [CrateDatasource.id];