pub fn bound_bundle_name(name: &str) -> StringExpand description
Bounds a bundle name to MAX_BUNDLE_NAME_CHARS via plain truncation
(no ellipsis, unlike truncate_display) — this IS the canonical
value, not a display abbreviation of a longer “real” one. Shared by
parse_bundle_import’s own manifest-name bounding and the Phase 3
bundle.import.commit RPC’s bundle_name override (round 3), so a
client-supplied override can’t bypass the same bound parsed.name is
already held to.