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

Is the std feature useful? #179

Open
pitdicker opened this issue Apr 16, 2024 · 1 comment
Open

Is the std feature useful? #179

pitdicker opened this issue Apr 16, 2024 · 1 comment

Comments

@pitdicker
Copy link
Contributor

The std feature controls only one thing: the error returned by Tz::from_str implements std::error::Error.
That is not useless, it is just such a small thing we wouldn't implement a feature for it otherwise.

@djc
Copy link
Contributor

djc commented Apr 17, 2024

I think both (a) being able to work in no_std contexts and (b) implementing std::error::Error for error types are valuable, and having a std feature doesn't seem like a big drag? So my answer would be yes.

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

No branches or pull requests

2 participants