Docs.rs targets

In another thread I saw this.

How does one configure the targets that docs.rs builds for? Is it a Cargo.toml setting, the rust-toolchain.toml "targets" section, or something else?

you put metadata sections in your Cargo.toml. see:

Oh, there it is. I should have looked harder, I gave up in the workspace Cargo.toml and didn't bother looking at the workspace members Cargo.toml's.

Workspaces are collections of packages, so anything that deals in individual packages (crates.io, docs.rs) won't see them. cargo does some normalization on Cargo.toml to make this all work smoothly.