Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nuew/postgres-inet
Cidr and Inet support for rust-postgres
https://github.com/nuew/postgres-inet
ip-address postgresql rust rust-lang
Last synced: 27 days ago
JSON representation
Cidr and Inet support for rust-postgres
- Host: GitHub
- URL: https://github.com/nuew/postgres-inet
- Owner: nuew
- License: apache-2.0
- Created: 2017-03-31T02:56:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-11-28T16:50:42.000Z (almost 3 years ago)
- Last Synced: 2024-09-30T12:04:28.707Z (about 1 month ago)
- Topics: ip-address, postgresql, rust, rust-lang
- Language: Rust
- Size: 55.7 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# postgres-inet
[![Build Status](https://travis-ci.org/nuew/postgres-inet.svg?branch=master)](https://travis-ci.org/nuew/postgres-inet)
[![Docs.rs](https://docs.rs/postgres-inet/badge.svg)](https://docs.rs/postgres-inet/)
[![Crates.io](https://img.shields.io/crates/v/postgres-inet.svg)](https://crates.io/crates/postgres-inet)
[![License](https://img.shields.io/crates/l/postgres-inet.svg)]()Provides [`cidr` and `inet`][1] support for rust's [`postgres`].
This crate is not affiliated with or supported by the author of [`postgres`].
## Installation
Add the following to your `Cargo.toml`:
```toml
[dependencies]
postgres = "0.15"
postgres-inet = "0.15"
```This crate will have the same major and minor version numbers as the supported
version of [`postgres`]. The `patch` version number will be incremented by
one for each release within that version. Unless required by an upstream
change, this crate's API is guaranteed stable.## Usage
Please see the `examples/` folder in the crate root for a simple example.
[1]: https://www.postgresql.org/docs/current/static/datatype-net-types.html
[`postgres`]: https://crates.io/crates/postgres