foundry_config::utils

Function deserialize_usize_or_max

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

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