e1f8566301
Merge pull request #110 from mullvad/metadata-cleanup
...
Metadata cleanup
2019-12-10 12:16:02 +00:00
a3197a8411
Remove the "heavily WIP" part of description
2019-12-10 09:40:08 +01:00
0479ca45a9
Add and remove appropriate keywords and categories
2019-12-10 09:40:08 +01:00
11025d3b1a
Remove documentation URL that is already default
2019-12-10 09:28:26 +01:00
43a38d4117
Merge pull request #103 from lucab/ups/parse-net-pair
...
ipnetwork: add netmask constructors
2019-11-28 13:52:55 +00:00
152f1a8393
ipnetwork: add netmask constructors
...
This adds constructors to build all network types from a network
address and network mask pair.
2019-11-27 17:20:59 +00:00
31fc25f9ce
cargo: rustfmt whole project
2019-11-27 15:50:47 +00:00
bdaa8a7843
Merge pull request #101 from achanda/release-v0.15.1
...
Uprev for a new release
v0.15.1
2019-11-23 13:54:22 +00:00
d54f463f86
Uprev for a new release
2019-11-23 13:48:22 +00:00
fb782086ce
Merge pull request #100 from LukasKalbertodt/master
...
Use `slice::iter` instead of `into_iter` to avoid future breakage
2019-10-30 22:17:22 +00:00
26706b3790
Use slice::iter
instead of into_iter
to avoid future breakage
...
`an_array.into_iter()` currently just works because of the autoref
feature, which then calls `<[T] as IntoIterator>::into_iter`. But
in the future, arrays will implement `IntoIterator`, too. In order
to avoid problems in the future, the call is replaced by `iter()`
which is shorter and more explicit.
2019-10-30 15:32:11 +01:00
2eed2de227
Merge pull request #99 from achanda/action-config
...
Add a github action config
2019-10-12 16:28:31 +01:00
7395af2658
Show current git branch
2019-10-12 16:17:29 +01:00
fefd674721
Add a checkout step
2019-10-12 16:11:31 +01:00
20ed033826
Add a github action config
2019-10-09 22:56:14 +01:00
7af6e16f98
Merge pull request #98 from achanda/release-0.15
...
Uprev for a new release
v0.15.0
2019-09-12 20:34:06 +01:00
9e42aaeb3e
Uprev for a new release
2019-09-12 20:25:48 +01:00
2b34ba991a
Merge pull request #96 from achanda/dependabot/cargo/criterion-0.3.0
...
Update criterion requirement from 0.2.9 to 0.3.0
2019-08-26 08:25:21 +01:00
2dff6a0863
Update criterion requirement from 0.2.9 to 0.3.0
...
Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs ) to permit the latest version.
- [Release notes](https://github.com/bheisler/criterion.rs/releases )
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.2.9...0.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-26 05:35:47 +00:00
a45e76c92f
Merge pull request #95 from faern/upgrade-to-rust2018
...
Upgrade to Rust 2018 edition
2019-03-25 16:57:22 +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
d8f3cc1992
Upgrade to edition 2018
2019-03-25 15:15:21 +01:00
c2d4b9aeae
Run cargo fix --edition
2019-03-25 15:13:50 +01:00
3479b6f272
Merge pull request #94 from mullvad/fix-deserialization
...
Deserialize from String rather &str for Ipv4Network and Ipv6Network
2019-02-20 16:49:28 +01:00
10d12cd945
Deserialize from String rather &str for ipnetwork:Ipv{4,6}Network
2019-02-20 11:07:29 +00:00
47a539f2f1
Merge pull request #93 from achanda/new-methods
...
Implement is_subnet_of, is_supernet_of and overlaps
2019-02-07 18:43:47 +01:00
e7c85b5b81
Implement overlaps for both types
2019-02-06 23:29:46 +00:00
439a0deeb7
Implement is_subnet_of and is_supernet_of
2019-02-06 23:14:07 +00:00
b2c458e6f1
Merge pull request #91 from achanda/contains-bench
...
Track benchmark for contains
2019-02-03 01:10:09 +01:00
1b06452e88
Optimise contains for IPv4
2019-02-02 23:57:25 +00:00
2b9936fa8e
Track benchmark for contains
2019-02-02 23:36:08 +00:00
553fa0ba1c
Merge pull request #90 from achanda/parse-bench
...
Add a benchmark for CIDR parsing
2019-02-03 00:22:15 +01:00
a19f24a9c6
Add a benchmark for CIDR parsing
...
Also optimise the cidr_parts implementation
2019-02-02 21:54:16 +00:00
aff0419a75
Merge pull request #89 from achanda/release-0.14.0
...
Prepare new release
v0.14.0
2019-02-01 23:22:41 +01:00
1f96439a87
Prepare new release
2019-02-01 22:16:38 +00:00
25d7dc19d1
Merge pull request #88 from mullvad/fix-deserialization
...
Added custom deserialization and serialization for ipnetwork::IpNetwork
2019-02-01 23:11:31 +01:00
d8ce2e4dbc
Added custom deserialization and serialization for ipnetwork::IpNetwork
2019-02-01 12:01:33 +00:00
16c4af9823
Merge pull request #86 from achanda/dependabot/cargo/clippy-0.0.302
...
Update clippy requirement from 0.0.104 to 0.0.302
2018-12-08 20:39:54 +00:00
72677fbe8f
Update clippy requirement from 0.0.104 to 0.0.302
...
Updates the requirements on [clippy](https://github.com/rust-lang-nursery/rust-clippy ) to permit the latest version.
- [Release notes](https://github.com/rust-lang-nursery/rust-clippy/releases )
- [Changelog](https://github.com/rust-lang/rust-clippy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang-nursery/rust-clippy/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-08 20:29:20 +00:00
35331cf7ea
Merge pull request #85 from achanda/from-casts
...
Use from casts in some more places
2018-11-26 11:28:55 +00:00
1d57287c77
Use from casts in some more places
2018-11-26 16:50:33 +05:30
ddec283819
Merge pull request #84 from achanda/change-type
...
Change return type of Ipv4Network::size to u32
2018-11-24 04:31:13 +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
2bd3db84a8
Merge pull request #83 from achanda/network-toplevel
...
Export network and broadcast for IpNetwork
2018-11-10 21:10:48 +00:00
a8edccafa1
Export network and broadcast for IpNetwork
...
Adopted from https://github.com/achanda/ipnetwork/pull/78
2018-11-10 21:04:41 +00:00
9ab988715e
Merge pull request #81 from achanda/release-0.13.1
...
Release version 0.13.1
2018-08-31 23:56:27 +01:00
1f3d42d89f
Release 0.13.1
2018-08-31 23:27:53 +01:00
e0a9afcb36
Merge pull request #79 from sharksforarms/issue-#62
...
Parse Ipv4Addr using Ipv4Addr::from_str
v0.13.1
2018-05-30 19:01:38 +02:00
5e7eb0bd1b
Parse IpAddr using Ipv4Addr::from_str
2018-05-27 19:26:11 -05:00