#[allow(unused_imports)]
use crate::nostd_prelude::*;
pub(crate) fn int_to_string_key(key: i64) -> Option<&'static str> {
ALL_KEYS.iter().find(|(k, _)| *k == key).map(|(_, v)| *v)
}
pub(crate) fn string_to_int_key(key: &str) -> Option<i64> {
ALL_KEYS.iter().find(|(_, v)| *v == key).map(|(k, _)| *k)
}
static ALL_KEYS: &[(i64, &str)] = &[
(31, "entity-name"),
(32, "reg-id"),
(33, "role"),
(34, "thumbprint"),
(37, "artifact"),
(38, "href"),
(39, "ownership"),
(40, "rel"),
(41, "media-type"),
(42, "use"),
(43, "activation-status"),
(44, "channel-type"),
(45, "colloquial-version"),
(46, "description"),
(47, "edition"),
(48, "entitlement-data-required"),
(49, "entitlement-key"),
(50, "generator"),
(51, "persistent-id"),
(52, "product"),
(53, "product-family"),
(54, "revision"),
(55, "summary"),
(56, "unspsc-code"),
(57, "unspsc-version"),
];