Skip to content

Large dependency footprint. Split into separate packages? #68

Description

@dminuoso

Right now the presence of the aeson and byte* dependencies makes for a sizable footprint of ip. This to me makes ip an uninteresting candidate for use in libraries that just need to carry IP or Mac data around, but may not even have to parse them (or it parses them directly off a wire protocol).

The typical choice seems to be, to provide a package ip-core that exposes only the basic types/bindings/instances, and then ip as a wholesale meal with orphan instances and parser utilities. This is similar to the yesod-ip package.

Aside from bumping a major version to satisfy PVP, this should have no other impact on users.

What do you think? I'd be willing to do the work to get it done.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions