nourl 0.1.4

A simple Url primitive for no_std environments
Documentation
#[derive(Debug, PartialEq, Eq)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub enum Error {
    /// The url did not start with <scheme>://
    NoScheme,
    /// The sceme in the url is not known.
    UnsupportedScheme,
    /// There was no closing square bracket after the IPv6 address.
    Ipv6AddressInvalid,
    /// There were tokens between the closing bracket of an IPv6 address and the next slash, that
    /// weren't a colon.
    LeftoverTokensAfterIpv6,
    /// A colon was present, but no port number following it.
    NoPortAfterColon,
    /// The specified port was either out of range or contained invalid tokens.
    InvalidPort,
    /// A percent was present, but no scope ID following it.
    NoScopeIdAfterPercent,
    /// The specified scope ID was either out of range or contained invalid tokens.
    InvalidScopeId,
}