Skip to content

Commit 3e71f82

Browse files
committed
release 0.2.3
1 parent ac9e992 commit 3e71f82

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Change Log
22

3+
## [0.2.3] - 2024-06-25
4+
5+
- `parsers` module:
6+
* `inet_addr` compatible parser
7+
* parser combinators to build custom parsing
8+
* "short IPv4 address" parser (incompatible with `inet_addr`).
9+
- short IPv4 address support in `FromStr` implementations is deprecated and
10+
going to be removed in 0.3.0
11+
- `no_unsafe` feature to use safe but slower fallbacks
12+
- `overflowing_add` and `overflowing_sub` methods on `Inet` types
13+
314
## [0.2.2] - 2023-06-25
415

516
- Make all functions const if possible
@@ -29,3 +40,4 @@
2940
[0.2.0]: https://github.com/stbuehler/rust-cidr/compare/cidr-0.1.1...cidr-0.2.0
3041
[0.2.1]: https://github.com/stbuehler/rust-cidr/compare/cidr-0.2.0...cidr-0.2.1
3142
[0.2.2]: https://github.com/stbuehler/rust-cidr/compare/cidr-0.2.1...cidr-0.2.2
43+
[0.2.3]: https://github.com/stbuehler/rust-cidr/compare/cidr-0.2.2...cidr-0.2.3

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "cidr"
33
# also bump version in html_root_url in src/lib.rs
4-
version = "0.2.2"
4+
version = "0.2.3"
55
edition = "2018"
66
authors = ["Stefan Bühler <[email protected]>"]
77
description = "IP network and IP host within network types"

src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#![cfg_attr(feature = "no_unsafe", forbid(unsafe_code))]
44
#![warn(missing_docs)]
55
#![warn(rust_2018_idioms)]
6-
#![doc(html_root_url = "https://docs.rs/cidr/0.2.2")]
6+
#![doc(html_root_url = "https://docs.rs/cidr/0.2.3")]
77
#![allow(clippy::match_like_matches_macro)]
88

99
//! This library provides types to represent an IP network ([`Cidr`]) or
@@ -12,7 +12,8 @@
1212
//! The naming follows the names of the [PostgreSQL data types](https://www.postgresql.org/docs/current/static/datatype-net-types.html)
1313
//!
1414
//! Address parsing also accepts IPv4 address with less than four octets
15-
//! (but always parses those as decimal).
15+
//! (but always parses those as decimal); this is deprecated and will be
16+
//! removed in 0.3.0.
1617
//!
1718
//! If the `#` flag is used with the `Display` formatting (i.e. `{:#}`) the
1819
//! prefix will be shown even for host addresses (added in `0.1.1`).

0 commit comments

Comments
 (0)