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

Does tzdb support no_std? #71

Closed
baoyachi opened this issue Jul 21, 2022 · 5 comments
Closed

Does tzdb support no_std? #71

baoyachi opened this issue Jul 21, 2022 · 5 comments

Comments

@baoyachi
Copy link

No description provided.

@Kijewski
Copy link
Owner

tzdb itself does not need any features in std, but tz-rs does not support no_std. This should be easily fixable, though, I think. I'll have a look if I can provide a PR upstream.

Cc @x-hgg-x

@baoyachi
Copy link
Author

🐂

@Kijewski
Copy link
Owner

Ah, I think I spoke too early. iana-time-zone needs to read files, and I don't know how difficult it would be to use e.g. rustix to do the io operations (open, read file content, read symlink targets).

@Kijewski
Copy link
Owner

Sorry, it's too complicated to make the module and all dependencies work with no-std.

@baoyachi
Copy link
Author

okay ,Thx @Kijewski

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