"On demand via API.

{ #[allow(clippy::cast_possible_truncation)] methods.add_method( "generate", |rt, this, ()| { let metric_label = |label| { let file = match net { IpNet::V4(_) => "allow_v4", IpNet::V6.