renovate/lib/manager/cargo/index.ts
Rhys Arkins 13bbc5d6a2 feat(config): remove manager additionalBranchPrefix defaults (#9373)
Resets any language or manager` additionalBranchPrefix` values to empty string. Add the `compatibility:additionalBranchPrefix` prefix to restore previous behavior.

BREAKING CHANGE: Removal of default `additionalBranchPrefix` values will cause branch names to change for docker/helm/buildkite/cargo/homebrew.
2021-04-22 08:47:58 +02:00

16 lines
531 B
TypeScript

import { LANGUAGE_RUST } from '../../constants/languages';
import * as cargoVersioning from '../../versioning/cargo';
import { updateArtifacts } from './artifacts';
import { extractPackageFile } from './extract';
const language = LANGUAGE_RUST;
export const supportsLockFileMaintenance = true;
export { extractPackageFile, updateArtifacts, language };
export const defaultConfig = {
commitMessageTopic: 'Rust crate {{depName}}',
fileMatch: ['(^|/)Cargo.toml$'],
versioning: cargoVersioning.id,
rangeStrategy: 'bump',
};