Bumps ipnet from 2.5.1 to 2.7.0.
Release notes
Sourced from ipnet's releases.
Allow to invoke some functions as const
- Allow to invoke some functions as const fn #43
Add IP netmask conversion and constructors
- Add IP netmask to prefix conversion functions and new with_netmask() constructors.
Changelog
Sourced from ipnet's changelog.
Version 2.7.0
- Allow to invoke some functions as const fn #43
Version 2.6.0
- Add IP netmask to prefix conversion functions and new
with_netmask()
constructors.
Version 2.5.0
- Manually implement JsonSchema for IpNet, Ipv4Net, Ipv6Net #41 because default derived JsonSchema does not correspond to Serde representation #40
- Migrate to edition 2018
Version 2.4.0
- Add 'schemars' feature for deriving JSON schema #31
- add convenience IpNet::new method #36
Version 2.3.1 (2020-06-15)
- Merge Fix Error::description() deprecation warning #28.
Version 2.3.0 (2020-03-15)
-
Merge @imp
's Default
implementation. See #18. Ipv4Net
and Ipv6Net
now default to 0.0.0.0/0 and ::/0 respectively. IpNet
defaults to the 0/0 Ipv4Net
.
-
Add #[allow(arithmetic_overflow)]
for Ipv4AddrRange::count()
and Ipv6AddrRange::count()
. Since 1.43.0-nightly it gives a build error but this panic behavior is desired. In future it may be replaced with explicit use of panic!
. See #21.
Version 2.2.0 (2020-02-02)
- Implement
From<IpAddr>
, From<Ipv4Addr>
, and From<Ipv6Addr>
for IpNet
, Ipv4Net
, and Ipv6Net
respectively.
Version 2.1.0 (2019-11-08)
-
Implement FusedIterator
for IpAddrRange
, Ipv4AddrRange
, Ipv6AddrRange
, IpSubnets
, Ipv4Subnets
, and Ipv6Subnets
.
-
Implement DoubleEndedIterator
for IpAddrRange
, Ipv4AddrRange
, Ipv6AddrRange
.
-
Implement custom count()
, last()
, max()
, min()
, nth()
, and size_hint()
for IpAddrRange
, Ipv4AddrRange
, Ipv6AddrRange
.
Version 2.0.1 (2019-10-12)
Version 2.0.0 (2018-08-21)
- The
Emu128
module has been removed. This provided an emulated 128-bit integer for supporting IPv6 addresses. As of Rust 1.26 the built-in 128-bit integers have been marked stable and this library has been updated to use these instead of Emu128
.
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it
@dependabot merge
will merge this PR after your CI passes on it
@dependabot squash and merge
will squash and merge this PR after your CI passes on it
@dependabot cancel merge
will cancel a previously requested merge and block automerging
@dependabot reopen
will reopen this PR if it is closed
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependencies rust