Comments (5)
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
from tzdb.
🐂
from tzdb.
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).
from tzdb.
Sorry, it's too complicated to make the module and all dependencies work with no-std.
from tzdb.
okay ,Thx @Kijewski
from tzdb.
Related Issues (12)
- Don't generate time zones with leap seconds by default HOT 1
- tzdb::local_tz() function get None in linux, expect get Some value . HOT 4
- tzdb::local_tz() function get None ,existing problems tzdb 0.4.1 version HOT 4
- Use a git submodule instead of squashing commits HOT 3
- RUSTSEC-2021-0127: serde_cbor is unmaintained HOT 1
- Optional `now` module in 0.5.x HOT 3
- Missing tag & changelog for 0.4.8 HOT 2
- Transition date ranges HOT 2
- Make `iana-time-zone` dep and `local_tz` function optional HOT 4
- Get Current Time Zone Name HOT 2
- Error for zones with underscore like Asia/Ho_Chi_Minh HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tzdb.