Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upFeature Request: Add network address support for Postgresql #719
Comments
killercup
added
enhancement
help wanted
postgres
labels
Feb 17, 2017
This comment has been minimized.
|
Er.. subnetmask can be represented in |
This comment has been minimized.
|
I think everything has been implemented now :) Feel free to reopen if we missed something |
Eijebong
closed this
Aug 9, 2017
This comment has been minimized.
|
No problem at all. Thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
KeenS commentedFeb 17, 2017
Hi, diesel developers.
I'm using diesel at work and need to handle network addresses for better functionalities of our product.
You know PostgreSQL supports network address types. CF PostgreSQL: Documentation: 9.6: Network Address Types.
Is it possible to support network address types on diesel? It doesn't seem MySQL and SQLite support it, so it will be a Pg only feature.
As it seems there aren't address range types neither in rust std nor crates.io, you may need to define enums such as:
MacAddress exits in crates.io CF https://docs.rs/eui48/0.1.0/eui48/struct.MacAddress.html .