|
e4d67e59a8
|
Implement conversion from v4 and v6 types to IpNetwork
|
2016-12-22 11:15:19 +00:00 |
|
|
c11ebdbd5b
|
Docs update
|
2016-12-21 17:56:17 +00:00 |
|
|
76f4a889a5
|
Update clippy
|
2016-12-21 09:37:51 +00:00 |
|
|
d283ca6240
|
Implement mask for IpNetwork
|
2016-12-19 17:07:03 +00:00 |
|
|
56197b3d32
|
Add some docs for the top level enum
|
2016-12-19 16:42:25 +00:00 |
|
|
d368d2bf02
|
Use the new ? operator
|
2016-12-08 12:07:34 +00:00 |
|
|
8463a3fc5e
|
Add ip_mask_to_prefix, ipv4_mask_to_prefix and ipv6_mask_to_prefix
|
2016-07-23 18:07:47 +01:00 |
|
|
3a083746f5
|
Remove code from lib.rs and import from submodules
|
2016-06-30 04:34:06 +02:00 |
|
|
0275491079
|
Implement an iterator for Ipv4Network
|
2016-06-29 20:11:01 +02:00 |
|
|
31d890735d
|
Manually implement Display, uglier debug
|
2016-06-20 15:55:35 +02:00 |
|
|
b5b0856a04
|
Formatting
|
2016-06-20 13:20:40 +02:00 |
|
|
7dcbf53a0f
|
Make IpNetworkError Clone,Eq,PartialEq
|
2016-06-20 13:20:28 +02:00 |
|
|
b50643fbae
|
Make structs Copy,Hash,Eq,PartialEq
|
2016-06-20 13:18:44 +02:00 |
|
|
17e96ae764
|
Make the network structs/enums clonable
|
2016-06-20 01:00:19 +02:00 |
|
|
1bb9b2c794
|
Allow non-zero host bits in from_cidr
|
2016-06-18 08:29:33 +02:00 |
|
|
81a9029fa3
|
Add from_cidr test
|
2016-06-18 08:05:18 +02:00 |
|
|
97af56a7c7
|
Return Results since arguments can be invalid nets
|
2016-06-18 08:00:36 +02:00 |
|
|
8d57734a7d
|
Make /32 net have size 1
|
2016-06-18 07:50:01 +02:00 |
|
|
b1837c10fa
|
Add size and nth to Ipv4Network
|
2016-06-18 07:19:53 +02:00 |
|
|
dc763d2d03
|
Fix Ipv4Network::mask shift overflow bug
|
2016-06-18 06:32:03 +02:00 |
|
|
0f9416f3b4
|
Fix Ipv4Network::contains bug
|
2016-06-13 22:58:01 +02:00 |
|
|
e812eb66ca
|
Drop the ip crate
|
2016-03-19 11:12:01 -07:00 |
|
|
af76578eac
|
Add check that IP in CIDR is network
|
2016-02-12 21:26:12 +01:00 |
|
|
235399c7e7
|
Add from_cidr to parse strs
|
2016-02-12 21:25:40 +01:00 |
|
|
cff60d0cd9
|
Revert "Revert "Use the ip crate""
This reverts commit d5422c0fd7 .
|
2016-02-12 10:48:10 -08:00 |
|
|
168a7b2dcf
|
Remove redundant feature
|
2016-02-12 00:55:47 -08:00 |
|
|
d5422c0fd7
|
Revert "Use the ip crate"
This reverts commit 5f84d3a817 .
|
2016-02-12 00:55:11 -08:00 |
|
|
42adf4ee93
|
Add a broadcast function for IPv4
|
2016-01-31 22:35:36 -08:00 |
|
|
d84dc6161a
|
Fix the network function and associated tests
|
2016-01-31 22:29:41 -08:00 |
|
|
eaa36f4b0b
|
Return an instance from the ip method
|
2016-01-31 22:05:23 -08:00 |
|
|
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 |
|