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

24 lines
14 KiB
Plaintext
Raw Normal View History

!<arch>
/ 0 0 0 0 8 `
// 66 `
web_time-9aa30e09569b80ec.web_time.f140f19563f3263d-cgu.0.rcgu.o/
lib.rmeta/ 0 0 0 644 11479 `
d<EFBFBD><00>,.rmeta<00>,<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@feat.00<00><>
/0 0 0 0 644 2000 `
BC<EFBFBD><EFBFBD>5b 0A<>
<EFBFBD>` <0B> q<>q<>x<><06>P<0F>@mn<>t<>q<><06>@<0F> <0E>PB S! <00> !"<07>#<23>A<EFBFBD>I29<32><01> %<04>b<EFBFBD>EB<> BD28K
2"<22>H<EFBFBD>d!C<><43>G2B$q<>$)@<40><>K2d<32><08> #B<><42>B*(*<2A>Q\ #<23>@<40> <19><07>"<22><>$2b,9Ȑ#<23><12>:dDG<44>"CF<00> "f<10>B<EFBFBD><42>RB<52><42><EFBFBD>q<EFBFBD>PH
&B<>B"&<08><><EFBFBD>90*|<7C>;<3B>;<3B><>6<EFBFBD><36>qh<71>{Hw <20>w<EFBFBD><77>yh<79>sp<73>z<EFBFBD><7A>
<EFBFBD><EFBFBD><06><><07><><06> wz0r<>s mrpq<>s z0r<><06> w z`t<>v@m<>v@z`t<><06>r<>zr<>m`xzr<>m<>x<>q`z0r<>v@m0 q x<><11><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_z<5F>]v<>c4<63>9<EFBFBD><39><EFBFBD>f<EFBFBD><66><EFBFBD>6#<23><><EFBFBD><EFBFBD> &<26>A<EFBFBD><41>j@2<1E>L<><4C> &G<>C<> <20><00><00>3<08><1C><>f=<3D>C8<43>ÌB<C38C>yxs<>q <0C><0F><0E><>3 B<1E><>Ρf0=<3D>C8<43><38><1B>=<3D>C=<3D>=<3D>x<EFBFBD>tp{yH<79>ppzpvx<76>p <20><19><0E><><0E>0n0<0F><><0E>P3<10><1D>!<1C>!<1D>af0<66>;<3B><>;<3B>C9<43><<3C><><<3C>;<3B><>v`{h7h<37>rh7<><37>p<EFBFBD><70>p`v(v<>vx<76>w<EFBFBD><77>_<08>q<18>r<EFBFBD><72>y<EFBFBD><79>,<2C><><0E><><0E><><0E>0<1C><>̡<1C><><1C>a<1C>!ā<1D>a֐C9<43>C9<43>C9<43>C9<43><39>8<EFBFBD>C8<43>;<3B><>/<2F><><<3C><>;<3B>;<3B><> <0C>i<EFBFBD>pX<70>rp<72>thx`<60>t<18>t<EFBFBD><74><19>S<0F><0F>P<0E><><0E>@<0F> <0E>P3 (<1D><><1E>A<1E>!܁<1E><><1C><><1D>fQ8<51>C:<3A><>;<3B>P$v`{h7`<60>wxx<>QL<51><4C><0F>P3j<1E>a<1C>!<1D><>~<1E><><1C>!<1D>aT<><54>8<EFBFBD><38>;<3B>C=<3D>C9<43><39><<3C>C;<3B><>;<3B>Ì<EFBFBD>
<EFBFBD>y<EFBFBD><EFBFBD>w<18>tz(r<><72>\<5C><0E><><0E>P<0E>0#<23><>A<1E><><17><><1D>fH;<3B><>=<3D><><1B><>8<EFBFBD>C9<43><39><<3C><>9<EFBFBD><39>;<3B><<3C>H<EFBFBD>qv`q<08>qX<71><19><><0E>`<0F><><06> <0F>0<0F> <0F>Pn<0E>0<0E>0<0F><><06><><0E>P<0E>0#<23><>a<1D><><17>!<1D>!<1D>!<1D>!<1D>!f <20>;<3B>C=<3D>9<><39>9<EFBFBD>X<EFBFBD>ppwxzzH<7A>wp<77><19><><0E>0<0F><><0E>@<0F><><0F>0<EFBFBD>s<>w<18>_<EFBFBD><5F>pp<70>t<EFBFBD><74>tЇr<D087><72><EFBFBD>A9<41><39>8<EFBFBD>C=<3D>C9<43>ʡ<1D>A<1E><>f$c0<0E><><0E>0<0F>@<0F>0C!<21>usH<73>_<EFBFBD><5F>|<7C><>r<EFBFBD><72><EFBFBD><<3C><><<3C><>8<EFBFBD>C:<3A><>;<3B>Ì<EFBFBD> H!Ba<1E>!<1D><>R<>fLg0<0E> <0F><><06>P<0F>0<0F>@<0E><><06> <0F><><0E>0<EFBFBD>@<40>vhy<08>R<1A><>;<3B>;<3B>C8̃<1B>9<><39><<3C><<3C><>8<EFBFBD>y &<00>H C<>  dd<64><64> <20><>2FFF<13>B<EFBFBD><42><EFBFBD><EFBFBD><EFBFBD>9B<39><42><EFBFBD>@<40><00>PIC Levelrustc version 1.94.1 (e408947bf 2026-03-25)#0<>3 C@<40>2<12><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\<5C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\<5C><><EFBFBD><EFBFBD><EFBFBD>F <09>T<EFBFBD><54><EFBFBD><EFBFBD>\<5C><><EFBFBD><EFBFBD><EFBFBD>F
<00>-
r(<28>w<EFBFBD>zXp<58>C=<3D><>8<EFBFBD>C9<43>Â<EFBFBD>ơ <0A>A<1E><><1D>!<1D>!<1D><>4<>`<0E>P<0F> <0F>@<0F> <0F>P<0E><><EFBFBD><EFBFBD>y(<28>p`vx<76>qz(rXp<58><70>8<EFBFBD>;<3B><>=<3D><>k<1C>!<1C><><1C> <1C>a<1C> <1C><><1E>aС<1C>a<1D>a<EFBFBD><0F> <0F>P<0F><> <0B>usH<73><05>8<EFBFBD><38>;<3B>C9<43><39>9<EFBFBD><39>;<3B>C9<43>=<3D>;<00><07><<3C><>;<3B>;<3B>=<3D><><<3C>C8<43><38><00> <00><04>Pq 2"<00><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><1C>^<5E><><EFBFBD>'<27><><05><1D><14><><EFBFBD>cXe <03><>BLXXXBWvX] !<03><>21.1.8-rust-1.94.1-stable 00d23d10dc48c6bb9d57ba96d4a748d85d77d0c7x86_64-pc-windows-gnuweb_time.f140f19563f3263d-cgu.0