Skip to content

Commit

Permalink
Put std feature of tz-rs behind the std feature
Browse files Browse the repository at this point in the history
  • Loading branch information
x-hgg-x authored and Kijewski committed Sep 15, 2024
1 parent e00859c commit fddcea8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tzdb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rust-version = "1.81.0"
tzdb_data = { version = "0.2.0", default-features = false, path = "../tzdb_data" }

iana-time-zone = { version = "0.1.60", default-features = false, features = ["fallback"], optional = true }
tz-rs = { version = "0.7.0", default-features = false, features = ["std"] }
tz-rs = { version = "0.7.0", default-features = false }

[features]
default = ["local", "now", "std"]
Expand All @@ -24,7 +24,7 @@ now = ["std"]
# Enable functions to query the current system time:
local = ["std", "dep:iana-time-zone"]
# Enable the use of features in the `std` crate:
std = ["alloc"]
std = ["alloc", "tz-rs/std"]
# Enable the use of features in the `alloc` crate:
alloc = []

Expand Down

0 comments on commit fddcea8

Please sign in to comment.