Isva server required for a crate registry?

so as i read the registry docs i need some type of a server for a registry.

several of my coworkers insist i can just point the registry at a shared read only network file server and be done with it.

is this true? i don’t see examples of this or docs that say how.

all examples i see are exactly http/https servers

we are working in a closed (air gapped network) environment and there is an big aversion on my team to setting up a server of any kind

docs:

 https://doc.rust-lang.org/cargo/reference/registries.html

something like /nfs/some/common/directory

if you need the full cargo registry features (edit: by "full features", I mean the cargo web API as documented here: Registry Web API - The Cargo Book), you definitely need a server to run your own private registry. if you just need to host a mirror of sources for the default crates-io registry, you can just use a filesystem like a local disk or network share.

see e.g. the source."<registry name>".replace-with configuration:

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.