Skip to content

Commit

Permalink
release 0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
stbuehler committed Jun 25, 2024
1 parent ac9e992 commit 3e71f82
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Change Log

## [0.2.3] - 2024-06-25

- `parsers` module:
* `inet_addr` compatible parser
* parser combinators to build custom parsing
* "short IPv4 address" parser (incompatible with `inet_addr`).
- short IPv4 address support in `FromStr` implementations is deprecated and
going to be removed in 0.3.0
- `no_unsafe` feature to use safe but slower fallbacks
- `overflowing_add` and `overflowing_sub` methods on `Inet` types

## [0.2.2] - 2023-06-25

- Make all functions const if possible
Expand Down Expand Up @@ -29,3 +40,4 @@
[0.2.0]: https://github.com/stbuehler/rust-cidr/compare/cidr-0.1.1...cidr-0.2.0
[0.2.1]: https://github.com/stbuehler/rust-cidr/compare/cidr-0.2.0...cidr-0.2.1
[0.2.2]: https://github.com/stbuehler/rust-cidr/compare/cidr-0.2.1...cidr-0.2.2
[0.2.3]: https://github.com/stbuehler/rust-cidr/compare/cidr-0.2.2...cidr-0.2.3
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "cidr"
# also bump version in html_root_url in src/lib.rs
version = "0.2.2"
version = "0.2.3"
edition = "2018"
authors = ["Stefan Bühler <[email protected]>"]
description = "IP network and IP host within network types"
Expand Down
5 changes: 3 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#![cfg_attr(feature = "no_unsafe", forbid(unsafe_code))]
#![warn(missing_docs)]
#![warn(rust_2018_idioms)]
#![doc(html_root_url = "https://docs.rs/cidr/0.2.2")]
#![doc(html_root_url = "https://docs.rs/cidr/0.2.3")]
#![allow(clippy::match_like_matches_macro)]

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

0 comments on commit 3e71f82

Please sign in to comment.