Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duration-str does not export its Result or Error type #11

Closed
FrancisRussell opened this issue Nov 8, 2022 · 2 comments · Fixed by #15
Closed

duration-str does not export its Result or Error type #11

FrancisRussell opened this issue Nov 8, 2022 · 2 comments · Fixed by #15

Comments

@FrancisRussell
Copy link

I needed to write a wrapper around one of the parse functions to make it play nicely with clap's derive functionality, but I found I could not do this without introducing a dependency on anyhow since aliases for the error and result types used aren't available in the crate directly.

@baoyachi
Copy link
Owner

I‘m try refactor duration-str Result

baoyachi added a commit that referenced this issue Nov 21, 2022
@baoyachi
Copy link
Owner

@FrancisRussell Now, published new version, please use

[dependencies]
duration-str = "0.5.0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants