Commit Graph

397 Commits

Author SHA1 Message Date
c79edaf11c Version bump 2015-08-11 17:03:35 -07:00
26f9d1df55 Remove the unnecessary parentheses 2015-08-11 17:03:08 -07:00
e1d412efc4 Version bump 2015-08-11 17:02:15 -07:00
1b74cfda59 Implement a contains() method
This returns true if a given IP belongs to a subnet
2015-08-11 17:00:45 -07:00
f99c458597 Bump version 2015-08-02 18:34:01 -07:00
9bffd5c5ec Simplify API 2015-08-02 18:32:21 -07:00
3588e1b467 Add crates merit badge 2015-05-25 15:45:26 +05:30
4869e89dc4 Add a rust-ci docs config 2015-05-24 22:16:53 +05:30
e1cf05def5 Always build against nightly
The `u32::from` we use was not in 1.0 stable
2015-05-22 17:16:54 +05:30
b7f691533a Simplify network* functions 2015-05-22 12:58:40 +05:30
d3a4bf5b77 Bump version 2015-05-05 12:26:56 -07:00
3354f6c725 Also get rid of more unnecessary method 2015-05-05 12:26:16 -07:00
bbf8cb0964 Sync with nightly 2015-05-05 12:25:06 -07:00
aaf451db41 Bump version 2015-05-04 16:48:08 -07:00
8af99ddc30 Consolidate 2015-05-04 16:47:47 -07:00
d51eab196c Trying to make name resolution work 2015-05-03 01:09:03 -07:00
e3aeff7a08 Revert "Consolidate and update version"
This reverts commit 5dae4eb4e1.
2015-05-03 01:08:08 -07:00
f61382c585 Don't put an explicit crate name 2015-05-03 00:59:24 -07:00
5dae4eb4e1 Consolidate and update version 2015-05-03 00:56:32 -07:00
48b98379bc Bump version 2015-05-01 14:05:54 -07:00
5353404674 Make everything pub 2015-05-01 14:05:26 -07:00
502b3bda7e Bump version 2015-05-01 13:44:19 -07:00
2cb9f22e96 Allow dead code in a lib 2015-05-01 13:42:49 -07:00
de56047657 Bump version 2015-05-01 13:41:24 -07:00
75edb5d783 Add some crate attributes 2015-05-01 13:40:53 -07:00
92edb82c70 Bump version 2015-04-26 00:27:43 -07:00
d6ab8ef58c Enforce a naming convention
method names without a suffix returns values in a human readable
form, wrapped in a Ipv4Addr. With a suffix returns values in a
machine readable form.
2015-04-26 00:25:30 -07:00
84d173d46f Add a method to get network as an IPv4 address 2015-04-26 00:10:49 -07:00
3984451d93 Add a method to get network address as an int
Also fix a bug with IP to int conversion
2015-04-26 00:02:03 -07:00
e655c0f9b0 Add travis status 2015-04-24 15:09:39 -07:00
e2d122e321 Create LICENSE.md 2015-04-24 14:59:56 -07:00
cf6d9a78f1 Add instructions 2015-04-24 14:58:59 -07:00
de38a05ab6 Add a travis config 2015-04-24 14:51:23 -07:00
b8a59d2b73 Move around some stuff 2015-04-24 00:54:59 -07:00
1c2ea7fa49 Ignore cargo lock 2015-04-24 00:40:30 -07:00
5aaf6abcb8 Bump version 2015-04-24 00:22:16 -07:00
7226c3fb6f Some more metadata 2015-04-24 00:21:23 -07:00
6abb65e366 Update crate name and add some metadata 2015-04-24 00:19:47 -07:00
063108c99f Add a gitignore 2015-04-24 00:15:46 -07:00
eed25247b5 Make ip_to_int a static method 2015-04-24 00:10:08 -07:00
450d98348a Add some more methods for v4
- Methods to get mask as int and as string
- Associated tests
2015-04-24 00:08:32 -07:00
72797bb080 Rename tests 2015-04-23 13:31:12 -07:00
c8f81d9199 Add a test for IP v6 2015-04-17 19:51:12 -07:00
c74528309c Update address 2015-04-17 18:34:35 -07:00
57d65a32ca Add a readme 2015-04-17 18:22:51 -07:00
07b1e49dc2 Get a basic thing working 2015-04-17 18:20:50 -07:00
e68c86343e Adding directory structure 2015-04-17 13:47:31 -07:00