- Resolve
GET index.crates.io/se/rd/serde_derivereturns one JSON line per version:vers,deps,cksum,yanked,pubtime. - Download
GET static.crates.io/crates/serde_derive/1.0.229/downloadreturns the.cratetarball the publisher uploaded. - VerifySHA-256 of the tarball must equal the index
cksum. Proves the bytes match what crates.io accepted, not who uploaded them. - RecordVersion and checksum are written to
Cargo.lock; the archive is cached in~/.cargo/registry/cache.
cargo fetch stops here. No dependency code has run.- Compilepublisher code runs
cargo build,check,test, and rust-analyzer run each dependency'sbuild.rsand load its procedural macros, as your user, with your files, env vars, and network.
