#ipv6 #ipv4 #enums #address #ip-addr #net #preferred

ip

Provides the IpAddr enum, which can represent either an IPv4 or an IPv6 address. Do not use this crate! As of Rust 1.7.0, the std::net::IpAddr is stabilized - and should be preferred

3 stable releases

Uses old Rust 2015

1.1.1 Mar 3, 2016
1.1.0 Jan 12, 2016
1.0.0 Dec 3, 2015

#2 in #preferred

Download history 14/week @ 2024-07-22 13/week @ 2024-07-29 13/week @ 2024-08-05 16/week @ 2024-08-12 14/week @ 2024-08-19 5/week @ 2024-08-26 1/week @ 2024-09-02 18/week @ 2024-09-09 7/week @ 2024-09-16 49/week @ 2024-09-23 17/week @ 2024-09-30 11/week @ 2024-10-07 24/week @ 2024-10-14 24/week @ 2024-10-21 5/week @ 2024-10-28 10/week @ 2024-11-04

64 downloads per month
Used in 5 crates (via cassandra)

MIT license

6KB
91 lines

ip-rs

A tiny crate providing the IpAddr enum, which can represent either an IPv4 or an IPv6 address.

Build Status Build status

Do not use this code!

As of Rust 1.7.0, the std::net::IpAddr is stabilized - and should be preferred.

Documentation

API documentation is here.

Installation

In Cargo.toml:

[dependencies]
ip = "*"

And in your crate root:

extern crate ip;

lib.rs:

A crate that provides the IpAddr type, which can represent either an IPv4 or an IPv6 address.

Do not use this crate! As of Rust 1.7.0, the std::net::IpAddr is stabilized - and should be preferred.

No runtime deps