Commit Graph

25 Commits

Author SHA1 Message Date
5f84d3a817 Use the ip crate 2016-01-09 18:02:19 +05:30
af84388f00 Run rustfmt 2015-12-27 00:29:08 +05:30
f8f2d7a499 Some cleanups as reported by clippy 2015-10-25 13:46:31 -07:00
a3d9aa3026 Use clippy 2015-10-25 13:43:52 -07:00
b47592b833 Remove redundant function 2015-08-11 17:20:57 -07:00
26f9d1df55 Remove the unnecessary parentheses 2015-08-11 17:03:08 -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
9bffd5c5ec Simplify API 2015-08-02 18:32:21 -07:00
b7f691533a Simplify network* functions 2015-05-22 12:58:40 +05:30
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
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
2cb9f22e96 Allow dead code in a lib 2015-05-01 13:42:49 -07:00
75edb5d783 Add some crate attributes 2015-05-01 13:40:53 -07:00
b8a59d2b73 Move around some stuff 2015-04-24 00:54:59 -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
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