Skip to content

[dependencies] Consider switching from ipnetwork to ipnet for IP network management #877

Open

Description

@smklein

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.

Activity

  1. added
    cleanup
    on Apr 5, 2022
  2. smklein commented on May 4, 2022

    @smklein
    CollaboratorAuthor

    Adding ipnet support to diesel has been proposed with diesel-rs/diesel#3164 , and implemented with diesel-rs/diesel#3165

  3. ahl commented on Jun 30, 2022

    @ahl
    Contributor

    Maybe relevant: achanda/ipnetwork#157

  4. bnaecker commented on Jul 22, 2022

    @bnaecker
    Collaborator

    Also: diesel-rs/diesel#3244

    It seems that this now means we can just use ipnet and its types directly, both in the external API and the database representation.

  5. added
    obsolete
    on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cleanupobsolete

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions