7 releases

Uses new Rust 2021

0.2.0 Jan 14, 2022
0.1.5 Jan 14, 2022
0.1.3 Jan 3, 2021

#345 in Command line utilities

Download history 4/week @ 2021-10-09 1/week @ 2021-10-16 4/week @ 2021-10-23 2/week @ 2021-10-30 15/week @ 2021-11-06 7/week @ 2021-11-13 16/week @ 2021-11-20 15/week @ 2021-11-27 8/week @ 2021-12-04 10/week @ 2021-12-11 14/week @ 2021-12-18 11/week @ 2021-12-25 10/week @ 2022-01-01 47/week @ 2022-01-08 21/week @ 2022-01-15

89 downloads per month

MIT license

4KB
53 lines

ip2d

A converter for IPv4 addresses.

Usage

A converter for IPv4 Addresses

USAGE:
    ip2d [FLAGS] [OPTIONS] [ip]

ARGS:
    <ip>    Converts an IPv4 Address to a number

FLAGS:
    -h, --help       Prints help information
    -x, --hex        Converts an IPv4 Address to a hex number
    -V, --version    Prints version information

OPTIONS:
    -r, --reverse <number>    Converts a number to an IPv4 Address

Examples

ip2d 127.0.0.1 -> 2130706433

ip2d -r 230451 -> 0.3.132.51

ip2d -x 127.0.2.2 -> 0x7f000202

Dependencies

~2MB
~30K SLoC

6a