Skip to content

Commit

Permalink
Fix overflow in mask to prefix conversion #47
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Price committed Jan 8, 2023
1 parent 5074e3e commit de2a97c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "ipnet"
version = "2.7.0" # Remember to update html_root_url
version = "2.7.1" # Remember to update html_root_url
authors = ["Kris Price <kris@krisprice.nz>"]
description = "Provides types and useful methods for working with IPv4 and IPv6 network addresses, commonly called IP prefixes. The new `IpNet`, `Ipv4Net`, and `Ipv6Net` types build on the existing `IpAddr`, `Ipv4Addr`, and `Ipv6Addr` types already provided in Rust's standard library and align to their design to stay consistent. The module also provides useful traits that extend `Ipv4Addr` and `Ipv6Addr` with methods for `Add`, `Sub`, `BitAnd`, and `BitOr` operations. The module only uses stable feature so it is guaranteed to compile using the stable toolchain."
license = "MIT OR Apache-2.0"
Expand Down
4 changes: 4 additions & 0 deletions RELEASES.md
@@ -1,5 +1,9 @@
# Releases

## Version 2.7.1

* Fix overflow in mask to prefix conversion #47

## Version 2.7.0

* Allow to invoke some functions as const fn #43
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/ipnet/2.7.0")]
#![doc(html_root_url = "https://docs.rs/ipnet/2.7.1")]
//! Types for IPv4 and IPv6 network addresses.
//!
//! This module provides types and useful methods for working with IPv4
Expand Down

0 comments on commit de2a97c

Please sign in to comment.