Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put std feature of tz-rs behind the std feature #208

Merged
merged 1 commit into from
Sep 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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