Skip to content
Merged
Show file tree
Hide file tree
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
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
19 changes: 14 additions & 5 deletions provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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 }

15 changes: 11 additions & 4 deletions zoneinfo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[package]
name = "zoneinfo_rs"
description = "Zoneinfo parser and compiler"
edition.workspace = true
version.workspace = true
rust-version.workspace = true
Expand All @@ -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"
Expand All @@ -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 = []
7 changes: 3 additions & 4 deletions zoneinfo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//
Expand All @@ -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;

Expand Down