packageurls

Rust packages on your domain.

Use a hostname you own in your dependencies, and point it at your git forge.

What cargo sees

[dependencies]
widgets = { git = "https://rust.example.com/org/repo" }

Examples use a repository named org/repo. Replace it with your own repository and required package metadata.

How setup works

Create an account, choose your hostname and forge, prove DNS control with a TXT record, and point the CNAME at rust.packageurls.com. Wait for the certificate before trying your vanity URL.

Limits to know

Cargo uses a git dependency, not a crates.io package alias. The repository must contain Cargo.toml; choose a tag, branch, or revision and retain Cargo.lock according to your project policy.

Package URLs does not host a package registry or proxy git content. Your package manager authenticates with your forge. A hostname maps the first owner/repo path segments to the forge; nested GitLab groups are unsupported.

Explore all supported languages