File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 11[package ]
22name = " cidr"
33# also bump version in html_root_url in src/lib.rs
4- version = " 0.2.2 "
4+ version = " 0.2.3 "
55edition = " 2018"
66authors = [
" Stefan Bühler <[email protected] >" ]
77description = " IP network and IP host within network types"
Original file line number Diff line number Diff line change 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
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`).
You can’t perform that action at this time.
0 commit comments