mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-15 09:06:25 +00:00
016e647390
Changes `rangeStrategy` default value from `'replace'` to `'auto'`. Also changes `auto` behavior so that `update-lockfile` is preferred if the manager supports the `updateLockedDependency()` function. Closes #19800 BREAKING CHANGE: Renovate will now default to updating locked dependency versions. To revert to previous behavior, configure rangeStrategy=replace.
19 lines
684 B
TypeScript
19 lines
684 B
TypeScript
import type { ProgrammingLanguage } from '../../../constants';
|
|
import { CrateDatasource } from '../../datasource/crate';
|
|
import * as cargoVersioning from '../../versioning/cargo';
|
|
import { updateArtifacts } from './artifacts';
|
|
import { extractPackageFile } from './extract';
|
|
export { getRangeStrategy } from './range';
|
|
|
|
export const language: ProgrammingLanguage = 'rust';
|
|
export const supportsLockFileMaintenance = true;
|
|
|
|
export { extractPackageFile, updateArtifacts };
|
|
|
|
export const defaultConfig = {
|
|
commitMessageTopic: 'Rust crate {{depName}}',
|
|
fileMatch: ['(^|/)Cargo\\.toml$'],
|
|
versioning: cargoVersioning.id,
|
|
};
|
|
|
|
export const supportedDatasources = [CrateDatasource.id];
|