File: README.md

package info (click to toggle)
rust-ipnetwork 0.21.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 240 kB
  • sloc: makefile: 2
file content (26 lines) | stat: -rw-r--r-- 692 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
ipnetwork
===
This is a library to work with IPv4 and IPv6 CIDRs in Rust

[![Build Status](https://travis-ci.org/achanda/ipnetwork.svg?branch=master)](https://travis-ci.org/achanda/ipnetwork)
[![Merit Badge](http://meritbadge.herokuapp.com/ipnetwork)](https://crates.io/crates/ipnetwork)

Run Clippy by doing
```
rustup component add clippy
cargo clippy
```

### Installation
This crate works with Cargo. Assuming you have Rust and Cargo installed, simply check out the source and run tests:
```
git clone https://github.com/achanda/ipnetwork
cd ipnetwork
cargo test
```

You can also add `ipnetwork` as a dependency to your project's `Cargo.toml`:
```toml
[dependencies]
ipnetwork = "*"
```