Rust dependencies integration with Sourcegraph

You can use Sourcegraph with Rust dependencies from any Cargo repository, including crates.io or an internal Artifactory.

This integration makes it possible to search and navigate through the source code of published Rust crates (for example, [email protected]).

Feature Supported?
Repository syncing
Repository permissions
Multiple Cargo repositories code hosts

Setup

See the "Rust dependencies" documentation.

Repository syncing

Site admins can add Rust dependencies to Sourcegraph.

Repository permissions

⚠ Rust dependencies are visible by all users of the Sourcegraph instance.

Multiple Rust dependencies code hosts

⚠️ It's only possible to create one Rust dependency code host for each Sourcegraph instance.

See the issue sourcegraph#32461 for more details about this limitation.