iddm / urlshortener-rs

A very-very simple url shortener (client) for Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The trait `std::error::Error` is not implemented for `ProviderError`, used by `urlshortener::client::UrlShortener::generate`

Antosser opened this issue · comments

The trait std::error::Error is not implemented for ProviderError, used by urlshortener::client::UrlShortener::generate.
This means that you can't ? out of a -> anyhow::Result<_> function, which is quite unpractical

Yes, this is true. It has been a long time since I last visited the crate. I'll try finding the time to add it.

Implemented and published as 3.1.0. Thanks!