pub fn is_published(package: &str) -> boolExpand description
Returns true if package ships a per-package crate on crates.io.
Use this in build scripts that want to fail loudly when codegen targets a
namespace whose package is git-only (and therefore not reachable from
crates.io-mirrored environments). Driven by tools/published.toml.