Comments (2)
The clock
feature is already pretty much the thing that controls if now()
and Local
are available.
If I remember right wasm
support was quickly added to the standard library to give rust a presence in that space since the beginning. But a lot of things were just stubs that panic on use. It was the first (and maybe only?) target where the standard library lies about its capabilities.
We could remove now
on wasm
without the wasi
target or wasmbind
feature. That would indeed be a breaking change.
But if an ecosystem is build on 'pretend you support some features so you can compile, but avoid actually using xyz', it seems chrono is following the conventions for that ecosystem. What do you think?
from chrono.
I'm ok with how it is, I wanted to make it easier for newcomers, especially if wasmbind get's disabled by default #1164.
from chrono.
Related Issues (20)
- `DateTime::years_since` is tricky during ambiguous local time HOT 5
- Parsing numeric literals can cause TooShort/Invalid HOT 5
- string parse with user specified format. HOT 2
- Deprecate panicking `TimeDelta` initializers HOT 2
- Mark `format::Numeric` and `format::Fixed` as `non_exhaustive` HOT 5
- Supporting normalising dates/times HOT 4
- Recognize our review capacity is limited for non-trivial work HOT 7
- Help understanding Parsing error: NotEnough while using parse_from_str HOT 3
- Differences between this crate and `time` HOT 12
- Properly support padding in parsers HOT 2
- Consider reverting #807 on the 0.5 branch HOT 1
- Inconsistent crate features documentation HOT 2
- `Utc::now` can fail with dates that are very far into the past/future HOT 1
- RFC: add feature "abi_stable" and make types abi stable HOT 7
- Is there a simpler way to get the current date at a specific time? HOT 3
- 0.5.x: Timezone conversion result (`LocalResult`) HOT 39
- `DateTime` equality with different `Offset`s HOT 6
- Tracking issue: Converting the API to return `Result`s HOT 11
- Deprecate all timestamp-related methods on `NaiveDateTime` HOT 1
- `TimeDelta::num_microseconds` (?)
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 chrono.