diff --git a/Cargo.toml b/Cargo.toml index 9cde53b9a39..cadaa2294c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,7 @@ license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/crates.io" description = "Backend of crates.io" edition = "2018" +default-run = "server" [workspace] diff --git a/docker_entrypoint.sh b/docker_entrypoint.sh index fcd9153f8b9..d4f564d5e1c 100755 --- a/docker_entrypoint.sh +++ b/docker_entrypoint.sh @@ -8,4 +8,4 @@ done ./script/init-local-index.sh -cargo run --bin server +cargo run diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 42c072cda12..167fc35ba8f 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -348,7 +348,7 @@ Build and start the server by running this command (you'll need to stop this with `CTRL-C` and rerun this command every time you change the backend code): ``` -cargo run --bin server +cargo run ``` Then start the background worker (which will process uploaded READMEs):