import { __exportAll } from "../../../_virtual/_rolldown/runtime.js";
import { GitTagsDatasource } from "../../datasource/git-tags/index.js";
import { GithubTagsDatasource } from "../../datasource/github-tags/index.js";
import { GitlabTagsDatasource } from "../../datasource/gitlab-tags/index.js";
import { CrateDatasource } from "../../datasource/crate/index.js";
import { GitRefsDatasource } from "../../datasource/git-refs/index.js";
import { updateArtifacts } from "./artifacts.js";
import { extractPackageFile } from "./extract.js";
import { getRangeStrategy } from "./range.js";
import { bumpPackageVersion } from "./update.js";
import { updateLockedDependency } from "./update-locked.js";

//#region lib/modules/manager/cargo/index.ts
var cargo_exports = /* @__PURE__ */ __exportAll({
	bumpPackageVersion: () => bumpPackageVersion,
	categories: () => categories,
	defaultConfig: () => defaultConfig,
	extractPackageFile: () => extractPackageFile,
	getRangeStrategy: () => getRangeStrategy,
	supportedDatasources: () => supportedDatasources,
	supportsLockFileMaintenance: () => supportsLockFileMaintenance,
	updateArtifacts: () => updateArtifacts,
	updateLockedDependency: () => updateLockedDependency,
	url: () => url
});
const supportsLockFileMaintenance = true;
const url = "https://doc.rust-lang.org/cargo";
const categories = ["rust"];
const defaultConfig = {
	commitMessageTopic: "Rust crate {{depName}}",
	managerFilePatterns: ["/(^|/)Cargo\\.toml$/"]
};
const supportedDatasources = [
	CrateDatasource.id,
	GithubTagsDatasource.id,
	GitlabTagsDatasource.id,
	GitRefsDatasource.id,
	GitTagsDatasource.id
];

//#endregion
export { cargo_exports };
//# sourceMappingURL=index.js.map