ipnetwork - currently used in omicron - and ipnet (not used yet) serve very similar purposes: they both track network addresses, ranges, and subnets.
Background
Progress
Doing so would let us move to a crate with slightly better subnet-management functionality, and a better cadence of support.
ipnetwork - currently used in omicron - and ipnet (not used yet) serve very similar purposes: they both track network addresses, ranges, and subnets.
Background
ipnetworkas it was supported natively within Diesel (see: the conversion for https://docs.diesel.rs/master/diesel/pg/sql_types/struct.Inet.html ).ipnetdidn't have such converters.Progress
ipnetcrate has been pretty amenable to addingJsonSchemasupport: Add 'schemars' feature for deriving JSON schema krisprice/ipnet#31ipnetconvertersToSqlandFromSqlfor DieselDoing so would let us move to a crate with slightly better subnet-management functionality, and a better cadence of support.