|
b624487f72
|
Use cargo clippy --fix to autofix code
|
2023-04-07 14:36:02 -05:00 |
|
|
ef3f536d48
|
Make parse_prefix more idiomatic
|
2023-04-07 12:00:03 -05:00 |
|
|
45fbf458b3
|
Address all changes clippy pointed out
|
2020-01-18 17:53:15 +00:00 |
|
|
31fc25f9ce
|
cargo: rustfmt whole project
|
2019-11-27 15:50:47 +00:00 |
|
|
a6dfadc21d
|
Manual import cleanup
|
2019-03-25 15:24:17 +01:00 |
|
|
61eeb5843f
|
Run cargo fix --edition-idioms
|
2019-03-25 15:15:41 +01:00 |
|
|
c2d4b9aeae
|
Run cargo fix --edition
|
2019-03-25 15:13:50 +01:00 |
|
|
a19f24a9c6
|
Add a benchmark for CIDR parsing
Also optimise the cidr_parts implementation
|
2019-02-02 21:54:16 +00:00 |
|
|
2b21f38171
|
Change return type of Ipv4Network::size to u32
Also, generalize size over IpvNetwork
NOTE: this is a breaking change
|
2018-11-21 15:48:29 +00:00 |
|
|
5e7eb0bd1b
|
Parse IpAddr using Ipv4Addr::from_str
|
2018-05-27 19:26:11 -05:00 |
|
|
15fa093618
|
cargo fmt
|
2018-04-15 21:15:36 -05:00 |
|
|
72326bd96f
|
use an option
|
2018-03-27 21:58:10 -05:00 |
|
|
5fabbc91d5
|
If there is no prefix, default to number of bits ipv4/32, ipv6/128
|
2018-03-27 21:36:39 -05:00 |
|
|
746342c0af
|
Default to /32 for an IP
|
2018-03-27 20:34:07 -05:00 |
|
|
a3528a8f43
|
Another round of formatting
|
2017-12-21 17:45:45 +00:00 |
|
|
124330be88
|
avoid misleading message
Closes #61
|
2017-10-09 11:59:48 +02:00 |
|
|
a28098444e
|
Fix annoying typo
prifex -> prefix
|
2017-08-14 18:05:22 +02:00 |
|
|
c50ccbbd1a
|
implement Error for IpNetworkError
|
2017-02-23 17:28:00 +09:00 |
|
|
c11ebdbd5b
|
Docs update
|
2016-12-21 17:56:17 +00:00 |
|
|
021bb38573
|
Clean up some things as reported by clippy
|
2016-12-21 09:46:32 +00:00 |
|
|
d368d2bf02
|
Use the new ? operator
|
2016-12-08 12:07:34 +00:00 |
|
|
c16cd32ed0
|
Mark from_cidr as deprecated
- Also refactored a bit
- Updated doc tests
|
2016-09-21 18:40:13 -07:00 |
|
|
5950239744
|
Add code to submodules
|
2016-06-30 04:33:13 +02:00 |
|