File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 44//! about the allowed input. Depending on the data format that needs
55//! to be handled the functions here might help implementing custom
66//! parsers.
7+ //!
8+ //! The parser combinators that take an `address_parser` can either
9+ //! take `FromStr::from_str` or a non-default parser like [`parse_loose_ip`].
10+ //! They are used to parse addresses (either as part of a `"/"` separated
11+ //! notation or as single host).
12+ //!
13+ //! Parser combinators that take an additional `host_parser` use that
14+ //! to parse strings that don't have an `"/"` separator - usually these
15+ //! should return Cidr/Inet "host" values, but they can allow special
16+ //! syntax like [`parse_short_ip_cidr`] to represent non-host networks too.
717
818mod combinators;
919mod inetaddr;
You can’t perform that action at this time.
0 commit comments