foundry_config::utils

Function deserialize_u64_or_max

Source
pub(crate) fn deserialize_u64_or_max<'de, D>(
    deserializer: D,
) -> Result<u64, D::Error>
where D: Deserializer<'de>,
Expand description

Deserialize a u64 or “max” for u64::MAX.