iana-time-zone

Rust crate to get the IANA time zone for the current system

Latest version: 0.1.65 registry icon
Maintenance score
100
Safety score
99
Popularity score
74
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security
  Vulnerabilities
Version Suggest Low Medium High Critical
0.1.65 0 0 0 0 0
0.1.64 0 0 0 0 0
0.1.63 0 0 0 0 0
0.1.62 0 0 0 0 0
0.1.61 0 0 0 0 0
0.1.60 0 0 0 0 0
0.1.59 0 0 0 0 0
0.1.58 0 0 0 0 0
0.1.57 0 0 0 0 0
0.1.56 0 0 0 0 0
0.1.55 0 0 0 0 0
0.1.54 0 0 0 0 0
0.1.53 0 0 0 0 0
0.1.52 0 0 0 0 0
0.1.51 0 0 0 0 0
0.1.50 0 0 0 0 0
0.1.49 0 0 0 0 0
0.1.48 0 0 0 0 0
0.1.47 0 0 0 0 0
0.1.46 0 0 0 0 0
0.1.45 0 0 0 0 0
0.1.44 0 0 1 0 0
0.1.43 0 0 1 0 0
0.1.42 0 0 0 0 0
0.1.41 0 0 0 0 0
0.1.40 0 0 0 0 0
0.1.39 0 0 0 0 0
0.1.38 0 0 0 0 0
0.1.37 0 0 0 0 0
0.1.36 0 0 0 0 0
0.1.35 0 0 0 0 0
0.1.34 0 0 0 0 0
0.1.33 0 0 0 0 0
0.1.32 0 0 0 0 0
0.1.31 0 0 0 0 0
0.1.30 0 0 0 0 0
0.1.29 0 0 0 0 0
0.1.28 0 0 0 0 0
0.1.27 0 0 0 0 0
0.1.26 0 0 0 0 0
0.1.25 0 0 0 0 0
0.1.24 0 0 0 0 0
0.1.23 0 0 0 0 0
0.1.22 0 0 0 0 0
0.1.21 0 0 0 0 0
0.1.20 0 0 0 0 0
0.1.19 0 0 0 0 0
0.1.18 0 0 0 0 0
0.1.17 0 0 0 0 0
0.1.16 0 0 0 0 0
0.1.15 0 0 0 0 0
0.1.14 0 0 0 0 0
0.1.13 0 0 0 0 0
0.1.12 0 0 0 0 0
0.1.11 0 0 0 0 0
0.1.10 0 0 0 0 0
0.1.9 0 0 0 0 0
0.1.8 0 0 0 0 0
0.1.7 0 0 0 0 0
0.1.6 0 0 0 0 0
0.1.5 0 0 0 0 0
0.1.4 0 0 0 0 0
0.1.3 0 0 0 0 0
0.1.2 0 0 0 0 0
0.1.1 0 0 0 0 0
0.1.0 0 0 0 0 0

Stability
Latest release:

0.1.65 - This version is safe to use because it has no known security vulnerabilities at this time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

Apache-2.0   -   Apache License 2.0

Not a wildcard

Not proprietary

OSI Compliant


MIT   -   MIT License

Not a wildcard

Not proprietary

OSI Compliant



iana-time-zone - get the IANA time zone for the current system

Crates.io Documentation Crate License build

This small utility crate gets the IANA time zone for the current system. This is also known as the tz database, tzdata, the zoneinfo database, and the Olson database.

Example:

// Get the current time zone as a string.
let tz_str = iana_time_zone::get_timezone()?;
println!("The current time zone is: {}", tz_str);

You can test this is working on your platform with:

cargo run --example get_timezone

Minimum supported rust version policy

This crate has a minimum supported rust version (MSRV) of 1.62.0 for Tier 1 platforms.

Updates to the MSRV are sometimes necessary due to the MSRV of dependencies. MSRV updates will not be indicated as a breaking change to the semver version.

License

Licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.