File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -221,12 +221,11 @@ temporal_rs = "0.1.0"
221
221
```
222
222
223
223
By default, ` temporal_rs ` will use a compiled time zone data provider
224
- that compiles the time zone data into the binary.
225
-
226
- Currently, we do not have a way to select certain provider's via feature
227
- flag, but a provider can be selected by setting ` no-default-features `
228
- and importing the preferred provider from ` timezone_provider ` for the
229
- API's that require time zone data.
224
+ that compiles the time zone data into the binary. If you prefer to
225
+ use the file system time zone database or a zoneinfo64 resource bundle,
226
+ you can disable the compiled time zone data by setting ` default-features = false ` ;
227
+ you can import your preferred provider from the ` timezone_provider ` crate,
228
+ then provide it to any API that requires a time zone provider.
230
229
231
230
For instance, to use the ` FsTzdbProvider ` , your ` Cargo.toml ` would look
232
231
like the following.
You can’t perform that action at this time.
0 commit comments