temporal 0.1.2
temporal: ^0.1.2 copied to clipboard
TC39 Temporal date/time API for Dart. Automatically delegates to the JS Temporal API on web and to temporal_rs (Rust FFI) on native platforms. Provides Calendar, TimeZone, Instant, PlainDate, PlainTim [...]
0.1.2 #
Web support is now built in. On browser targets the umbrella package automatically
delegates to the browser's native Temporal API (via temporal_js) instead of the
Rust FFI path, so you get zero-overhead date handling on the web with no extra setup.
0.1.1 #
Initial public release of the cross-platform umbrella package:
- Automatically delegates to
temporal_js(browser native Temporal API) on web and totemporal_native(Rust FFI via temporal_rs) on Dart VM / Flutter native - Full type surface:
PlainDate,PlainTime,PlainDateTime,PlainYearMonth,PlainMonthDay,Instant,ZonedDateTime,TemporalDuration,Calendar,TimeZone - Single import (
package:temporal/temporal.dart) works unchanged on every platform