mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-31 15:20:15 +00:00
3db96dd170
691: Bump time from 0.2.27 to 0.3.2 r=thomaseizinger a=dependabot[bot] Bumps [time](https://github.com/time-rs/time) from 0.2.27 to 0.3.2. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">time's changelog</a>.</em></p> <blockquote> <h2>0.3.2 [2021-08-25]</h2> <h3>Added</h3> <ul> <li><code>Instant</code> is now <code>#[repr(transparent)]</code></li> </ul> <h3>Fixed</h3> <ul> <li>Constructing a <code>Date</code> from its ISO year, week, and weekday now returns the correct value in all circumstances. Previously, dates with an ISO year less than zero may have returned incorrect values. This affects both the <code>Date::from_iso_week_date</code> method and the <code>date!</code> macro.</li> </ul> <h2>0.3.1 [2021-08-06]</h2> <h3>Added</h3> <ul> <li><code>Month</code> now implements <code>TryFrom<u8></code></li> <li><code>From<Month></code> is now implemented for <code>u8</code></li> <li>The parser now accepts "5 PM" and similar as a valid time. Only the 12-hour clock hour and the AM/PM suffix may be present; any other components representing a time will cause an error (this exact behavior is not guaranteed).</li> <li>The <code>time!</code> macro accepts the "5 PM" syntax with the same restriction.</li> </ul> <h3>Fixed</h3> <ul> <li>Macros that have a time component (<code>time!</code> and <code>datetime!</code>) no longer accept "0:00 AM" and similar. This was previously erroneously accepted.</li> </ul> <h2>0.3.0 [2021-07-30]</h2> <h3>Added</h3> <ul> <li><code>datetime!</code> macro, which allows the construction of a statically verified <code>PrimitiveDateTime</code> or <code>OffsetDateTime</code>.</li> <li><code>PrimitiveDateTime::replace_time</code></li> <li><code>PrimitiveDateTime::replace_date</code></li> <li><code>OffsetDateTime::replace_time</code></li> <li><code>OffsetDateTime::replace_date</code></li> <li><code>OffsetDateTime::replace_date_time</code></li> <li><code>OffsetDateTime::replace_offset</code></li> <li><code>#![no_alloc]</code> support</li> <li><code>Date::to_iso_week_date</code>, replacing <code>Date::iso_year_week</code></li> <li><code>Date::MIN</code></li> <li><code>Date::MAX</code></li> <li><code>UtcOffset::from_hms</code></li> <li><code>UtcOffset::from_whole_seconds</code></li> <li><code>UtcOffset::as_hms</code></li> <li><code>UtcOffset::whole_hours</code></li> <li><code>UtcOffset::whole_minutes</code></li> <li><code>UtcOffset::minutes_past_hour</code></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
---|---|---|
.. | ||
proptest-regressions/bitcoin | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |