diff --git a/CHANGELOG.md b/CHANGELOG.md index 902b93ec8..437371534 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,29 @@ +## What's Changed in v0.0.10 +* Add documentation and doctests for builtins by @blarfoon in [#360](https://github.com/boa-dev/temporal/pull/360) +* More error enums by @Manishearth in [#373](https://github.com/boa-dev/temporal/pull/373) +* [capi] Add stringifier/cloning to timezones by @Manishearth in [#344](https://github.com/boa-dev/temporal/pull/344) +* Handle unknown timezone identifiers in FsTzdbProvider by @Manishearth in [#345](https://github.com/boa-dev/temporal/pull/345) +* [capi] Fix i128Nanoseconds by @Manishearth in [#372](https://github.com/boa-dev/temporal/pull/372) +* [capi] expose error strings by @Manishearth in [#364](https://github.com/boa-dev/temporal/pull/364) +* Consolidate tools into a single `tool` directory by @nekevss in [#368](https://github.com/boa-dev/temporal/pull/368) +* Add a new PartialYearMonth to available partial structs (#288) by @robot-head in [#342](https://github.com/boa-dev/temporal/pull/342) +* Implement zoneinfo parsing/compilation and add TZif structs by @nekevss in [#257](https://github.com/boa-dev/temporal/pull/257) +* Add ErrorMessage enum, start using it by @Manishearth in [#355](https://github.com/boa-dev/temporal/pull/355) +* [capi] Add is_valid() to I128Nanoseconds by @Manishearth in [#363](https://github.com/boa-dev/temporal/pull/363) +* [capi] Add ZonedDateTime::{equals,offset} by @Manishearth in [#362](https://github.com/boa-dev/temporal/pull/362) +* Add convenience methods for constructing FFI datetime types from milliseconds by @Manishearth in [#359](https://github.com/boa-dev/temporal/pull/359) +* [capi] Add offset_nanoseconds() to ZDT FFI by @Manishearth in [#361](https://github.com/boa-dev/temporal/pull/361) +* Update diplomat by @Manishearth in [#357](https://github.com/boa-dev/temporal/pull/357) +* Stop depending on `is_dst` for calculations by @jedel1043 in [#356](https://github.com/boa-dev/temporal/pull/356) +* Add some FAQ style docs for temporal_rs by @nekevss in [#350](https://github.com/boa-dev/temporal/pull/350) +* Add try_from_offset_str ctor for TimeZone by @Manishearth in [#348](https://github.com/boa-dev/temporal/pull/348) +* Switch compiled_data APIs to new CompiledTzdbProvider by @Manishearth in [#346](https://github.com/boa-dev/temporal/pull/346) + +## New Contributors +* @blarfoon made their first contribution in [#360](https://github.com/boa-dev/temporal/pull/360) + +**Full Changelog**: https://github.com/boa-dev/temporal/compare/v0.0.9...v0.0.10 + ## What's Changed in v0.0.9 * Cross boundary rounding fix #286 by @robot-head in [#343](https://github.com/boa-dev/temporal/pull/343) * Implement PlainMonthDay::with functionality by @nekevss in [#335](https://github.com/boa-dev/temporal/pull/335) diff --git a/Cargo.lock b/Cargo.lock index d08ffd422..152d59694 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -117,7 +117,7 @@ checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" [[package]] name = "bakeddata" -version = "0.0.9" +version = "0.0.10" dependencies = [ "databake", "prettyplease", @@ -283,7 +283,7 @@ dependencies = [ [[package]] name = "depcheck" -version = "0.0.9" +version = "0.0.10" [[package]] name = "diplomat" @@ -299,7 +299,7 @@ dependencies = [ [[package]] name = "diplomat-gen" -version = "0.0.9" +version = "0.0.10" dependencies = [ "diplomat-tool", ] @@ -820,7 +820,7 @@ dependencies = [ [[package]] name = "temporal_capi" -version = "0.0.9" +version = "0.0.10" dependencies = [ "diplomat", "diplomat-runtime", @@ -833,7 +833,7 @@ dependencies = [ [[package]] name = "temporal_rs" -version = "0.0.9" +version = "0.0.10" dependencies = [ "combine", "core_maths", @@ -853,7 +853,7 @@ dependencies = [ [[package]] name = "timezone_provider" -version = "0.0.9" +version = "0.0.10" dependencies = [ "databake", "serde", @@ -1247,7 +1247,7 @@ dependencies = [ [[package]] name = "zoneinfo-test-gen" -version = "0.0.9" +version = "0.0.10" dependencies = [ "clap", "serde", @@ -1257,7 +1257,7 @@ dependencies = [ [[package]] name = "zoneinfo_rs" -version = "0.0.9" +version = "0.0.10" dependencies = [ "hashbrown", "indexmap", diff --git a/Cargo.toml b/Cargo.toml index b2c3bfb2b..d56ee5e7f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ members = [ [workspace.package] edition = "2021" -version = "0.0.9" +version = "0.0.10" rust-version = "1.82.0" authors = ["boa-dev"] license = "MIT OR Apache-2.0" diff --git a/provider/Cargo.toml b/provider/Cargo.toml index eeb28ea44..d09ed80db 100644 --- a/provider/Cargo.toml +++ b/provider/Cargo.toml @@ -12,13 +12,23 @@ include = [ "Cargo.toml", "LICENSE-Apache", "LICENSE-MIT", - "README.md" + "README.md", ] [features] -datagen = ["std", "dep:serde", "dep:databake", - "dep:yoke", "dep:serde_json", - "zerotrie/serde", "zerotrie/databake", "zerovec/serde", "zerovec/databake", "zerovec/derive", "zoneinfo_rs"] +datagen = [ + "std", + "dep:serde", + "dep:databake", + "dep:yoke", + "dep:serde_json", + "zerotrie/serde", + "zerotrie/databake", + "zerovec/serde", + "zerovec/databake", + "zerovec/derive", + "zoneinfo_rs", +] std = [] [dependencies] @@ -35,4 +45,3 @@ serde = { version = "1.0.219", features = ["derive"], optional = true } databake = { version = "0.2.0", features = ["derive"], optional = true } yoke = { version = "0.8.0", features = ["derive"], optional = true } serde_json = { version = "1.0.140", optional = true } - diff --git a/zoneinfo/Cargo.toml b/zoneinfo/Cargo.toml index 5a35fe86b..6e41dd3b3 100644 --- a/zoneinfo/Cargo.toml +++ b/zoneinfo/Cargo.toml @@ -1,5 +1,6 @@ [package] name = "zoneinfo_rs" +description = "Zoneinfo parser and compiler" edition.workspace = true version.workspace = true rust-version.workspace = true @@ -8,6 +9,16 @@ license.workspace = true repository.workspace = true readme.workspace = true exclude.workspace = true +include = [ + "src/**/*", + "Cargo.toml", + "LICENSE-Apache", + "LICENSE-MIT", + "README.md", +] + +[features] +std = [] [dependencies] hashbrown = "0.15.4" @@ -17,7 +28,3 @@ indexmap = "2.9.0" tzif = { workspace = true } serde_json = "1.0.140" serde = { version = "1.0.219", features = ["derive"] } - - -[features] -std = [] diff --git a/zoneinfo/src/lib.rs b/zoneinfo/src/lib.rs index 109c6b8da..cfe2325cd 100644 --- a/zoneinfo/src/lib.rs +++ b/zoneinfo/src/lib.rs @@ -2,17 +2,16 @@ //! time zone transition data that can be used to build //! TZif files or any other desired time zone format. //! -//! The `zoneinfo_compiler`* offers default parsing and compiling +//! `zoneinfo_rs` offers default parsing and compiling //! of zoneinfo files into time zone transition data. //! -//! Why `zoneinfo-compiler`? +//! Why `zoneinfo_rs`? //! //! In general, this library seeks to maximally expose as much //! data from the zoneinfo files as possible while also supporting //! extra time zone database features like the zone.tab, PACKRATLIST, //! and POSIX time zone strings. //! -//! * TODO: bikeshed name // TODO list: // @@ -32,7 +31,7 @@ // this library is designed to aid with build time libraries, on // a limited dataset, NOT at runtime on extremely large datasets. -// #![no_std] +#![no_std] extern crate alloc;