env_logger::fmt::Style:
The bespoke styling API, behind color, was removed, in favor of accepting any
ANSI styled string and adapting it to the target stream's capabilities.
Possible styling libraries include:
anstyle is a minimal, runtime string styling API and is re-exported as env_logger::fmt::style
owo-colors is a feature rich runtime string styling API
color-print for feature-rich compile-time styling API
This release bring a ca. 20% improvement to the performance of the formatting code, and a convenient days_since method for the Weekday type.
Chrono 0.4.38 also removes the long deprecated rustc-serialize feature. Support for rustc-serialize will be soft-destabilized in the next Rust edition. Removing the feature will not break existing users of the feature; Cargo will just not update dependents that rely on it to newer versions of chrono.
In chrono 0.4.36 we made an accidental breaking change by switching to derive(Copy) for DateTime instead of a manual implementation. It is reverted in this release.
Only package files needed for building and testing (#1554)
Thanks to all contributors on behalf of the chrono team, @djc and @pitdicker!
v0.4.37
Version 0.4.36 introduced an unexpected breaking change and was yanked. In it LocalResult was renamed to MappedLocalTime to avoid the impression that it is a Result type were some of the results are errors. For backwards compatibility a type alias with the old name was added.
As it turns out there is one case where a type alias behaves differently from the regular enum: you can't import enum variants from a type alias with use chrono::LocalResult::*. With 0.4.37 we make the new name MappedLocalTime the alias, but keep using it in function signatures and the documentation as much as possible.
See also the release notes of chrono 0.4.36 from yesterday for the yanked release.
v0.4.36
This release un-deprecates the methods on TimeDelta that were deprecated with the 0.4.35 release because of the churn they are causing for the ecosystem.
New is the DateTime::with_time() method. As an example of when it is useful:
use chrono::{Local, NaiveTime};
// Today at 12:00:00
let today_noon = Local::now().with_time(NaiveTime::from_hms_opt(12, 0, 0).unwrap());
Bumps the all group with 24 updates in the / directory:
1.35.1
1.37.0
1.0.111
1.0.116
1.0.195
1.0.199
1.0.79
1.0.82
0.4.20
0.4.21
0.10.2
0.11.1
0.4.32
0.4.38
0.8.5
0.9.0
0.1.59
0.1.60
4.4.18
4.5.4
0.11.23
0.11.27
0.11.0
0.12.0
2.5.0
2.6.0
1.7.0
1.8.0
0.10.63
0.10.64
0.7.4
0.7.5
0.5.1
0.5.2
2.1.1
2.2.1
0.25.3
0.26.2
0.25.0
0.26.2
1.0.56
1.0.59
1.6.0
1.7.1
0.1.77
0.1.80
0.12.1
0.12.2
Updates
tokio
from 1.35.1 to 1.37.0Release notes
Sourced from tokio's releases.
... (truncated)
Commits
9c337ca
chore: prepare Tokio v1.37.0 (#6435)e542501
io: document cancel safety ofAsyncBufReadExt::fill_buf
(#6431)4601c84
stream: addnext_many
andpoll_next_many
toStreamMap
(#6409)deff252
util: document cancel safety ofSinkExt::send
andStreamExt::next
(#6417)4565b81
sync: add arwlock()
method to ownedRwLock
guards (#6418)3ce4720
sync: addis_closed
,is_empty
, andlen
to mpsc receivers (#6348)8342e4b
util: assert compatibility betweenLengthDelimitedCodec
options (#6414)4c453e9
readme: add description about benchmarks (#6425)1846483
sync: expose strong and weak counts of mpsc sender handles (#6405)baad270
sync: add Semaphore example for limiting the number of outgoing requests (#6419)Updates
serde_json
from 1.0.111 to 1.0.116Release notes
Sourced from serde_json's releases.
Commits
a3f62bb
Release 1.0.11612c8ee0
Hide "non-exhaustive patterns" errors when crate fails to compile051ce97
Merge pull request 1124 from mleonhard/master25dc750
Replacefeatures_check
mod with a call tostd::compile_error!
. Fixes htt...2e15e3d
Revert "Temporarily disable miri on doctests"0baba28
Resolve legacy_numeric_constants clippy lintsb1ebf38
Release 1.0.115c3dc153
Merge pull request #1119 from titaniumtraveler/pr218770b
Explicitly install a Rust toolchain for cargo-outdated job840da8e
Fix missing backticks in doc commentsUpdates
serde
from 1.0.195 to 1.0.199Release notes
Sourced from serde's releases.
Commits
1477028
Release 1.0.199789740b
Merge pull request #2732 from aatifsyed/master8fe7539
fix: ambiguous associated type in forward_to_deserialize_any!f6623a3
Ignore cast_precision_loss pedantic clippy lintc4fb923
Release 1.0.19865b7eea
Merge pull request #2729 from dtolnay/saturating01cd696
Integrate Saturating<T> deserialization into impl_deserialize_num macroc13b3f7
Format PR 2709a6571ee
Merge pull request #2709 from jbethune/master6e38aff
Revert "Temporarily disable miri on doctests"Updates
anyhow
from 1.0.79 to 1.0.82Release notes
Sourced from anyhow's releases.
Commits
074bdea
Release 1.0.8247a4fbf
Merge pull request #360 from dtolnay/docensurec5af1db
Make ensure's doc comment apply to the cfg(not(doc)) macro toobebc7a2
Revert "Temporarily disable miri on doctests"f2c4db9
Update ui test suite to nightly-2024-03-31028cbee
Explicitly install a Rust toolchain for cargo-outdated job7a4cac5
Merge pull request #358 from dtolnay/workspacewrapper939db01
Apply RUSTC_WORKSPACE_WRAPPER9f84a37
Temporarily disable miri on doctests45e5a58
Ignore dead code lint in testUpdates
log
from 0.4.20 to 0.4.21Changelog
Sourced from log's changelog.
Commits
3ccdc28
Merge pull request #617 from rust-lang/cargo/0.4.216153cb2
prepare for 0.4.21 releasef0f7494
Merge pull request #613 from rust-lang/feat/kv-cleanup2b220bf
clean up structured logging example646e9ab
use original Visitor name for VisitValuecf85c38
add needed subfeatures to kv_unstable73e9539
fix up capturing of :err31bb4b0
move error macros togetherad91711
support field shorthand in macros90a347b
restore removed APIs as deprecatedUpdates
env_logger
from 0.10.2 to 0.11.1Release notes
Sourced from env_logger's releases.
Changelog
Sourced from env_logger's changelog.
Commits
7113ad4
chore: Release9f73bde
docs: Update changelog489ba18
Merge pull request #302 from Bobo1239/main6f31706
fix(fmt): Fix passing of WriteStyle when using Target::Pipe8f4361b
chore: Releaseba41ebb
docs: Update changelog5e226cb
chore: Release23441be
Merge pull request #300 from epage/other6c2ea80
style(filter): Clean up2d35260
feat(filter): Add a Logger decoratorUpdates
chrono
from 0.4.32 to 0.4.38Release notes
Sourced from chrono's releases.
... (truncated)
Commits
352a352
Prepare 0.4.3846d44d6
Manually implementCopy
forDateTime
if offset isCopy
760eb66
Update windows-bindgen requirement from 0.55 to 0.56391187f
Return error when rounding with zero durationffc75e5
AddTimeDelta::checked_mul
andTimeDelta::checked_div
f8cecbe
MakeWeekday::num_days_from public
, rename todays_since
.0cfc405
Optimize number formatting74ba83b
Takepad
by value78e79db
Match on tuples informat_fixed
f3d76c7
Match on tuples informat_numeric
Updates
chrono-tz
from 0.8.5 to 0.9.0Release notes
Sourced from chrono-tz's releases.
Commits
6987cd6
Bump version numbers31f11ed
CI: verify package against vendored copy of chrono-tz-buildcac2f4a
MakeParseError
a realError
enumd508734
Return the same error message when deserializing withno_std
0d37925
Fix deprecation warningse8f72a6
Apply lib.rs suggestionscdb5f0b
Don't setno_std
for testsb68bff7
Removeupdate-tz
GitHub Action59b7a54
CI: verify cargo publish includes all files needed to buildd177b65
Only include relevant files when publishingUpdates
iana-time-zone
from 0.1.59 to 0.1.60Changelog
Sourced from iana-time-zone's changelog.
Commits
bf83753
Bump version number to 0.1.606b66d30
Merge pull request #127 from strawlab/fix-windows-core-version1f5c177
correct windows-core dependency versionUpdates
clap
from 4.4.18 to 4.5.4Release notes
Sourced from clap's releases.
Changelog
Sourced from clap's changelog.
Commits
5e4facf
chore: Release8880b0a
docs: Update changelog132b5dd
Merge pull request #5425 from epage/litdf915fe
fix(derive): Re-allow expressions for id's8eab48f
refactor(derive): Make it easier to work with 'Name'be73195
refactor(derive): Clarify tests024089b
Merge pull request #5415 from Pi-Cla/patch-13b35dba
docs: Add mention of nushell to clap_complete README58469d1
Merge pull request #5405 from epage/docs655d829
docs(derive): Fix ToC links within tutorial chaptersUpdates
reqwest
from 0.11.23 to 0.11.27Release notes
Sourced from reqwest's releases.
Changelog
Sourced from reqwest's changelog.
Commits
cf69fd4
v0.11.27d0d2b47
docs: add note about sponsors/support2fe53c5
refactor: Migrate trust-dns to hickory-dns6904889
(wasm) fix: Form::text on wasm setting octet-stream mime type and file name. ...54bb709
v0.11.26d334800
Revert "fix: Patchsystem-configuration
version (#2130)" (#2172)c7940c6
revert: hyper v1 upgrade (for now)e319263
Fix missing tokio/io-util (#2168)037111f
feat: Allow binding interface (#2163)bfc54fc
feat: Add http2 cargo feature (#2162)Updates
if-addrs
from 0.11.0 to 0.12.0Release notes
Sourced from if-addrs's releases.
Commits
d60d72f
Bump version to 0.12.093fee9d
Merge pull request #34 from mon/windows-friendly-name89aca06
Use user-visible adapter name on Windowsadcf2b5
Bump version to 0.11.1a9e83bd
Merge pull request #33 from madsmtm/more-niche-platforms33512bc
Improve support for niche platformsUpdates
data-encoding
from 2.5.0 to 2.6.0Commits
Updates
uuid
from 1.7.0 to 1.8.0Release notes
Sourced from uuid's releases.
Commits
0f2aaae
Merge pull request #747 from uuid-rs/cargo/1.8.001d16c3
prepare for 1.8.0 releasee4746bc
Merge pull request #745 from uuid-rs/ci/outdatedd0396ad
Merge pull request #746 from uuid-rs/chore/draft-link9415ed4
Merge pull request #743 from koshell/main951e8e3
Merge pull request #738 from rerun-io/emilk/wasm-bindgen-only-on-web101aa84
add v6 to v8 draft link to README84dcbba
run outdated on a scheduleca952b1
add a workflow for running cargo outdatedabe995a
Make the toml longer, more complicated, and functionalUpdates
openssl
from 0.10.63 to 0.10.64Release notes
Sourced from openssl's releases.