# `Cargo.toml` sets `publish = ["kellnr"]`, so `cargo publish` targets the # private registry and refuses crates.io. Cargo needs that registry's index # declared to resolve the name. # # Committed rather than left to a per-user `~/.cargo/config.toml` so the repo # is self-contained: a fresh clone, a new machine, or CI would otherwise fail # with # # error: registry index was not found in any configuration: `kellnr` # # Index URL only — it is not a secret. Publish tokens live in # `~/.cargo/credentials.toml` (per-user, never committed) or, in CI, in # `CARGO_REGISTRIES_KELLNR_TOKEN`. [registries.kellnr] index = "sparse+https://crates.aceofba.se/api/v1/crates/"