ate.capabilities));

      document.getElementById("tab-admin-deprecation-toggle").onchange = () => {
        apiSetCrateDeprecation(currentVersion.index.name, !crate.isDeprecated).then(() => {
          crate.isDeprecated = !crate.isDeprecated;
          document.getElementById("meta-deprecation").style.display = crate.isDeprecated ? null : "none";
        });
      }
      document.getElementById("tab-admin-removal-toggle").onchange = () => {
        apiSetCrateCanRemove(currentVersion.index.name, !crate.