Files
volcengine-server-manager/target/x86_64-pc-windows-gnu/release/deps/libweb_time-9aa30e09569b80ec.rmeta

10 lines
11 KiB
Plaintext
Raw Normal View History

rust
+#rustc 1.94.1 (e408947bf 2026-03-25)<29><02>NM<4E>H<EFBFBD>/p<>|<7C>Π$;<3B>-3e8ec88e153dd14a<34><02><05><><EFBFBD>m <0B>:-Z1Ϥ-b7ca4e58e9c2b38f<38><02><1F>L{"<22>-<06>hz,+<2B>E-57f648b8ac272411<31><02>d<><1E>{' <09><18>z<EFBFBD><7A><EFBFBD><EFBFBD>-afa8b616ced7613d<33><02> <09>&<26><>r;<3B><36><CC96>/<2F>-31625bbb71278e91<39>rustc_std_workspace_core<72><65><EFBFBD><EFBFBD>NB<12><14>M<0E><P\-de1184eecc1de885<38><02>ӷvF<17>6<19>h<EFBFBD>#<23>'<27>s-dda75d287e838306<30> miniz_oxide<64>i<EFBFBD><69>‹B<C28B>7WzyF4_<34><5F>-0b9ef4d9bfa8a9e5<65>adler2<72>%<25><><EFBFBD><<3C><><EFBFBD><EFBFBD>D<EFBFBD>].<2E>-718ab5244863462b<32> hashbrown<77>њwHk<48>&<26><>LQ<4C>V<EFBFBD><56>-178729454426f155<35>rustc_std_workspace_alloc<6F><63>3Ay<><79><EFBFBD><19><><EFBFBD>[]?-61794faff8010214<31>
std_detect<EFBFBD>W<EFBFBD><EFBFBD><EFBFBD><EFBFBD>n<0F>ijki<6B><69><EFBFBD><EFBFBD>-be014d48fae3de91<39>rustc_demangle<6C><65>iK' <0C><>V<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-3a623713f152d32d<32>windows_targets<74>A .',? <20>U`<60>@<40> x-fc0305376244409a<39>cfg_if<69>c<><63><EFBFBD><EFBFBD><EFBFBD><EFBFBD>%9M<07><1F>-a5f4391365334c14<31> addr2line<6E>(v<><76><EFBFBD><EFBFBD> <0C><><EFBFBD>|D<><01><>-c9875f99726b3ef4<66>gimli<6C><69>j<EFBFBD><6A>o<>b<EFBFBD>[撱<><E692B1>-3244fa6a04742bd5<64>object<63><74> <0C>:+<2B>ۄy<DB84>a<EFBFBD>[B<>-9ee00fc69ae9b382<38>memchr<68>U<EFBFBD><55>ey5{<7B>e <0B>><3E>j<EFBFBD>-6179d7f2caeaf9d0<64><02> -w<>:Y_ؙ<5F>;<3B>wx<77>-4f3c6ed0f446d578<37>time<6D>$<24>,<02>wasm<73><6D><EFBFBD>+web<65><1C>-<02><01><08><>,<02>unknown<77><6E><EFBFBD>,<00><>,/docsrs<72>4<>,<00><>,<<02><02>
UNIX_EPOCH<EFBFBD>U<EFBFBD><EFBFBD>_ <01>=<02>=<3D>4_<01>P
SystemTime<EFBFBD>U<EFBFBD>W_<01>PSystemTimeError<6F>}<7D>\_<01>Q<02>E<>_<02><>TryFromFloatSecsError<6F><72><EFBFBD>_<02><><03><00>.<00> # Description<6F><02><00>JG Complete drop-in replacement for [`std::time`] that works in browsers.<2E>a<02><00>eLI Currently [`Instant::now()`] and [`SystemTime::now()`] will simply panic<69><00><>LI when using the `wasm32-unknown-unknown` target. This implementation uses<65><00><>OL [`Performance.now()`] for [`Instant`] and [`Date.now()`] for [`SystemTime`]<5D><00><>:7 to offer a drop-in replacement that works in browsers.<2E><1C><02><00><>MJ At the same time the library will simply re-export [`std::time`] when not<6F><00><>FC using the `wasm32-unknown-unknown` target and will not pull in any<6E><00><> dependencies.<2E><1C><02><00><>GD Additionally, if compiled with `target-feature = "atomics"` it will<6C><00><>KH synchronize the timestamps to account for different context's, like web<65><00><>A> workers. See [`Performance.timeOrigin`] for more information.<2E><1C><02><00><>NK Using `-Ctarget-feature=+nontrapping-fptoint` will improve the performance<63><00><>MJ of [`Instant::now()`] and [`SystemTime::now()`], but the vast majority of<6F><00><>-* the time is still spent going through JS.<2E><1C><02>d<> # Target<65><1C><02><00><><9 This library specifically targets browsers, that support<72><00><>OL [`Performance.now()`], with the `wasm32-unknown-unknown` target. Emscripten<65><00><> PM is not supported. WASI doesn't require support as it has it's own native API<50><00><>  to deal with [`std::time`].<2E><1C> <02><00><> OL Furthermore it depends on [`wasm-bindgen`], which is required. This library<72><00><>
PM will continue to depend on it until a viable alternative presents itself, in<69><00><> 63 which case multiple ecosystems could be supported.<2E><1C> <02>T<>  # Note<74><1C> <02><00><>  ## Ticking during sleep<65><1C> <02><00><> NK Currently a known bug is affecting browsers on operating system other then<65><00><> KH Windows. This bug prevents [`Instant`] from continuing to tick when the<68><00><> PM context is asleep. This doesn't necessarily conflict with Rusts requirements<74><00><> 2/ of [`Instant`], but might still be unexpected.<2E><1C><02><00><><0E><00> See [the MDN documentation on this](https://developer.mozilla.org/en-US/docs/Web/API/Performance/now#ticking_during_sleep) for more information.<2E><1C><02><00><> ## Context support<72><1C><02><00><>NK The implementation of [`Instant::now()`] relies on the availability of the<68><00><>NK [`Performance` object], a lack thereof will cause a panic. This can happen<65><00><> if called from a [worklet].<2E><1C><02>\<5C> # Usage<67><1C><02><00><>-* You can simply import the types you need:<3A>\<5C> ```rust<73><00><>(% use web_time::{Instant, SystemTime};<3B><1C><02><00><> let now = Instant::now();<3B><00><>! let time = SystemTime::now();<3B><<3C> ```<60><1C><02>t<> # Features<65><1C><02>t<> ## `serde`<60><1C><02><00><>B? Implements [`serde::Deserialize`] and [`serde::Serialize`] for<6F><00><> [`SystemTime`].<2E><1C><02>T<> # MSRV<52><1C><02><00><>NK As this library heavily relies on [`wasm-bindgen`] the MSRV depends on it.<2E><00><>;8 At the point of time this was written the MSRV is 1.60.<2E><1C><02><00><> # Alternatives<65><1C><02><00><><15><00> [instant](https://crates.io/crates/instant) [![Crates.io](https://img.shields.io/crates/v/instant.svg)](https://crates.io/crates/instant) is a popular alternative! However the API it implements doesn't match [`std::time`] exactly.<2E><1C><02><00><> # Contributing<6E><1C><02><00><>,) See the [CONTRIBUTING] file for details.<2E><1C><02><00><> # Attribution<6F><1C><02><00><>he Inspiration was taken from the [instant](https://github.com/sebcrozet/instant/tree/v0.1.12) project.<2E><1C><02><00><>gd Additional insight was taken from the [time](https://github.com/time-rs/time/tree/v0.3.20) project.<2E><1C><02>|<7C> # Changelog<6F><1C><02><00><>)& See the [CHANGELOG] file for details.<2E><1C><02>l<>
# License<73><1C><02><00><> Licensed under either of<6F><1C><02><00><>da - Apache License, Version 2.0 ([LICENSE-APACHE] or <http://www.apache.org/licenses/LICENSE-2.0>)<29><00><>IF - MIT license ([LICENSE-MIT] or <http://opensource.org/licenses/MIT>)<29><1C><02><00><> at your option.<2E><1C><02><00><> ## Copyright<68><1C><02><00><>NK A majority of the code and documentation was taken from [`std::time`]. For<6F><00><>^[ license information see [#License](https://github.com/rust-lang/rust/tree/1.68.1#license).<2E><1C><02><00><> ## Contribution<6F><1C><02><00><>IF Unless you explicitly state otherwise, any contribution intentionally<6C><00><>LI submitted for inclusion in the work by you, as defined in the Apache-2.0<EFBFBD><00><>MJ license, shall be dual licensed as above, without any additional terms or<6F>|<7C> conditions.<2E><1C><02><00><>NK [CHANGELOG]: https://github.com/daxpedda/web-time/blob/v1.1.0/CHANGELOG.md<6D><00><> TQ [CONTRIBUTING]: https://github.com/daxpedda/web-time/blob/v1.1.0/CONTRIBUTING.md<6D><00><> OL [LICENSE-MIT]: https://github.com/daxpedda/web-time/blob/v1.1.0/LICENSE-MIT<49><00><>!UR [LICENSE-APACHE]: https://github.com/daxpedda/web-time/blob/v1.1.0/LICENSE-APACHE<48><00><>"GD [worklet]: https://developer.mozilla.org/en-US/docs/Web/API/Worklet<65><00><>"mj [`Date.now()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/now<6F><00><>#GD [`Instant`]: https://doc.rust-lang.org/std/time/struct.Instant.html<6D><00><>$YV [`Instant::now()`]: https://doc.rust-lang.org/std/time/struct.Instant.html#method.now<6F><00><>$MJ [`SystemTime`]: https://doc.rust-lang.org/std/time/struct.SystemTime.html<6D><00><>%_\ [`SystemTime::now()`]: https://doc.rust-lang.org/std/time/struct.SystemTime.html#method.now<6F><00><>&=: [`std::time`]: https://doc.rust-lang.org/stable/std/time/<2F><00><>&[X [`performance.now()`]: https://developer.mozilla.org/en-US/docs/Web/API/Performance/now<6F><00><>'gd [`Performance.timeOrigin`]: https://developer.mozilla.org/en-US/docs/Web/API/Performance/timeOrigin<69><00><>(a^ [`Performance` object]: https://developer.mozilla.org/en-US/docs/Web/API/performance_property<74><01><>)N<00><>)TL[`serde::Deserialize`]: https://docs.rs/serde/1/serde/trait.Deserialize.html<6D><01><>*J<00><>*PH[`serde::Serialize`]: https://docs.rs/serde/1/serde/trait.Serialize.html<6D><00><>*;8 [`wasm-bindgen`]: https://crates.io/crates/wasm-bindgen<65><02>w<01> <13> <01>=<02><13><01>P<01> <13><01>P<01> <13><01>Q<02><13><02><><01>
<02><>wwwL<>-<00> CHANGELOG<4F>=https://github.com/daxpedda/web-time/blob/v1.1.0/CHANGELOG.md<6D>LICENSE-APACHE<48>serde<64><01>9https://doc.rust-lang.org/std/time/struct.SystemTime.html<6D>Performance.now()<29>@https://developer.mozilla.org/en-US/docs/Web/API/Performance/now<6F>8https://developer.mozilla.org/en-US/docs/Web/API/Worklet<65>serde::Deserialize<7A>,https://github.com/time-rs/time/tree/v0.3.20<EFBFBD><01>><01>><01>?SystemTime::now()<29><01>?<01>@<01>worklet<65><01>@<01>A1https://github.com/sebcrozet/instant/tree/v0.1.12<EFBFBD><01>A<01>><02>6https://doc.rust-lang.org/std/time/struct.Instant.html<6D><01>A<01>?Ehttps://developer.mozilla.org/en-US/docs/Web/API/performance_property<74><01>B<01>@@https://github.com/daxpedda/web-time/blob/v1.1.0/CONTRIBUTING.md<6D><01>B<01>A<02><01>B<01>APerformance object<63><01>C<01>B CONTRIBUTING<4E><01>D<01>B<02>Instant::now()<29><02><01>Bthe MDN documentation on this<69><01>D<01>C Crates.io<69><01>E<01>D*https://doc.rust-lang.org/stable/std/time/<2F><01>E<02>%https://crates.io/crates/wasm-bindgen<65><01>E<01>D https://crates.io/crates/instant<6E><01>E<01>E-https://github.com/rust-lang/rust/tree/1.68.1<EFBFBD> std::time<6D><01>F<01>E<02><01>P wasm-bindgen<65><01>F<01>Einstant<6E><01>F<01>E#License<73><01>G<01>G<01>FGhttps://developer.mozilla.org/en-US/docs/Web/API/Performance/timeOrigin<69><01>G<01>F2https://docs.rs/serde/1/serde/trait.Serialize.html<6D><01>H<01>F<https://github.com/daxpedda/web-time/blob/v1.1.0/LICENSE-MIT<49><01>H<01>G<01>G<01><Performance.timeOrigin<69><01>H<01>G<01>I<01>H LICENSE-MIT<49><01>I<01>HYhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/now<6F><01>J<01>Hserde::Serialize<7A><01>I<01> ?https://github.com/daxpedda/web-time/blob/v1.1.0/LICENSE-APACHE<48><01>J<01>I
Date.now()<29><01>K<01>J4https://docs.rs/serde/1/serde/trait.Deserialize.html<6D><01>K<01> <01>?<01>L<01>J<01>@<01>L<01>K<01>L<01>K<01>><01> <01>P<01>?<01>?<01>L<01><01>@<01>@<01>L<01>A<01>L<02><02><02><02><02><02><02><02>K<02><02><02><02><02><02><02><02> <02> <02> <02> <02><02><02><02>K<02>L<02>K<02>K<02>L<02><><02><><02><><03><03>6=&<26>c<EFBFBD><63>@<40>Ň<EFBFBD><C587>=.g<>m<EFBFBD><6D>Ÿ04<30><>\<5C>.<2E>0<><05><12>+BHKE<1F>belpO '"%<02> =&<26>c<EFBFBD><63>@<40><>X<EFBFBD><58><EFBFBD>W<EFBFBD><57> (<28>'<27>'<27>'<27>'<27>'<27>ODHT <02><>=&<26>c<EFBFBD><63>@<40><>\<5C>.Ň<><C587>=.g<>m<><6D>Ÿ04<30><00><><EFBFBD><EFBFBD><EFBFBD>x<EFBFBD><78><EFBFBD><EFBFBD><EFBFBD><EFBFBD>{<7B>l<EFBFBD><6C><EFBFBD><EFBFBD><EFBFBD>x<EFBFBD><78><EFBFBD><EFBFBD><EFBFBD><EFBFBD>{<7B>l]C:\Users\xiaji\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\web-time-1.1.0\src\lib.rs<72>RC:\Users\xiaji\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\web-time-1.1.0<EFBFBD>]C:\Users\xiaji\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\web-time-1.1.0\src\lib.rs<72> fmqA6ޚ<36><DE9A> <20>7yl<79><00>.<2E>.<2E>KMMP;NGHLBON. =PQ PQ7 OLQ3<04>OO  . )"C O<<04>-ih*eJO_JMNOUPVHnHZN`>\hb ;WR<';
H# @;<00>M<EFBFBD><4D><EFBFBD>wfy77v+U<><55>)x86_64-pc-windows-gnu<6E><75>Dsb<73>o<EFBFBD>h<EFBFBD>Š<EFBFBD><C28A>=2web_time<6D>-9aa30e09569b80ec<65>=&<26>c<EFBFBD><63>@<40><14>U<02><00>F N<01>rust-end-file