Skip to content

Commit

Permalink
Mention feature flags in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Kijewski committed Sep 15, 2024
1 parent 9d7dc54 commit e0a5f72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ let current_time = tzdb::now::in_named_or(tzdb::time_zone::GMT, "Some/City")?;
## Feature flags

* `local` <sup>(enabled by default)</sup> — enable functions to query the current system time
* `now` <sup>(enabled by default)</sup> — enable functions to query the current system time
* `std` <sup>(enabled by default, `now` and `local`)</sup> — enable the use of features in the `std` crate
* `alloc` <sup>(enabled by `std`)</sup> — enable the use of features in the `alloc` crate

0 comments on commit e0a5f72

Please sign in to comment.