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
Most of our efforts have shifted to improving the API for a 0.5 release, for which cleanups and refactorings are landing on the 0.4.x branch.
The most significant changes in this release are two sets of deprecations.
We deprecated all timestamp-related methods on NaiveDateTime. The reason is that a timestamp is defined to be in UTC. The NaiveDateTime type doesn't know the offset from UTC, so it was technically wrong to have these methods. The alternative is to use the similar methods on the DateTime<Utc> type, or from the TimeZone trait.
Converting from NaiveDateTime to DateTime<Utc> is simple with .and_utc(), and in the other direction with .naive_utc().
The panicking constructors of TimeDelta (the new name of the Duration type) are deprecated. This was the last part of chrono that defaulted to panicking on error, dating from before rust 1.0.
A nice change is that NaiveDate now includes a niche. So now Option<NaiveDate>, Option<NaiveDateTime> and Option<DateTime<Tz>> are the same size as their base types.
format::Numeric and format::Fixed are marked as non_exhaustive. This will allow us to improve our formatting and parsing support, and we have reason to believe this breaking change will have little to no impact on users.
Bumps the all group with 22 updates:
1.35.1
1.36.0
1.0.111
1.0.114
1.0.195
1.0.197
1.0.79
1.0.81
0.4.20
0.4.21
0.10.2
0.11.1
0.4.32
0.4.35
0.8.5
0.8.6
0.1.59
0.1.60
4.4.18
4.5.3
0.11.23
0.11.27
0.11.0
0.11.1
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.0
0.25.3
0.26.2
0.25.0
0.26.2
1.0.56
1.0.58
1.6.0
1.7.1
0.1.77
0.1.79
Updates
tokio
from 1.35.1 to 1.36.0Release notes
Sourced from tokio's releases.
... (truncated)
Commits
eaf81ed
chore: prepare Tokio v1.36.0 (#6312)53f9e5a
ci: make sure dictionary words are sorted and unique (#6316)9077762
net: expose keepalive option onTcpSocket
(#6311)131e7b4
ci: add spellchecking (#6297)e53b92a
io: clarifyclear_ready
docs (#6304)7536132
sync: use AtomicBool in broadcast channel future (#6298)b6d0c90
macros: fix trait_method breaking change detection (#6308)4846959
runtime: remove obsolete comment (#6303)ec30383
net: addUnixSocket
(#6290)f80bbec
io: simplify check for empty slice (#6293)Updates
serde_json
from 1.0.111 to 1.0.114Release notes
Sourced from serde_json's releases.
Commits
e1b3a6d
Release 1.0.1146fb7026
Work around prelude redundant import warnings34a04c5
Ignore incompatible_msrv clippy false positives in testca05f69
Remove unused Float::is_sign_negative trait method09d865b
Release 1.0.1135aeab4e
Merge pull request #1109 from serde-rs/removeca3c2ca
Add swap_remove and shift_remove methods on Map7fece96
Release 1.0.1126a6d2bb
Merge pull request #1107 from serde-rs/unexpectedfloat83d7bad
Format f64 in error messages using ryuUpdates
serde
from 1.0.195 to 1.0.197Release notes
Sourced from serde's releases.
Commits
5fa711d
Release 1.0.197f5d8ae4
Resolve prelude redundant import warnings1d54973
Merge pull request #2697 from nyurik/format-strb8fafef
A few minorwrite_str
optimizations and inliningc42ebb8
Update ui test suite to nightly-2024-02-129e68062
Ignore incompatible_msrv clippy lint for conditionally compiled code846f865
Ignore dead_code warnings in testede9762
Release 1.0.196d438c2d
Merge pull request #2682 from dtolnay/decimalpointbef110b
Format Unexpected::Float with decimal pointUpdates
anyhow
from 1.0.79 to 1.0.81Release notes
Sourced from anyhow's releases.
Commits
4aad4ed
Release 1.0.818be9091
Merge pull request #354 from dtolnay/deadcodea2eb7dd
Make compatible with -Dwarnings5443719
Release 1.0.80dfc7bc0
Work around prelude redundant import warnings6e4f86b
Import from alloc not std, where possiblef885a13
Ignore incompatible_msrv clippy false positives in testfefbcbc
Ignore incompatible_msrv clippy lint78f2d81
Update ui test suite to nightly-2024-02-08edd88d3
Update ui test suite to nightly-2024-01-31Updates
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.35Release notes
Sourced from chrono's releases.
... (truncated)
Commits
9fdb596
Prepare 0.4.359e667b6
Deprecate panickingTimeDelta
constructors2c1b0be
Tests: replaceTimeDelta::milliseconds
withtry_milliseconds
2bf3302
Tests: replaceTimeDelta::seconds
withtry_seconds
f93508f
Tests: replaceTimeDelta::minutes
withtry_minutes
9fc931a
Tests: replaceTimeDelta::hours
withtry_hours
9f23c08
Tests: replaceTimeDelta::days
withtry_days
e8f9b5e
Tests: replaceTimeDelta::weeks
withtry_weeks
51a1aa2
Tests: useDays
type when it is more appropriate thanTimeDelta
4251bd1
ReplaceTimeDelta::seconds
withtry_seconds
Updates
chrono-tz
from 0.8.5 to 0.8.6Commits
Updates
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.3Release notes
Sourced from clap's releases.
Changelog
Sourced from clap's changelog.
Commits
4e07b43
chore: Release8247c7d
docs: Update changelog677c52c
chore: Updateheck
requirement (#5396)f65d421
chore: Release886b272
docs: Update changelog3ba4297
Merge pull request #5386 from amaanq/static-var-name2aea950
fix: Use SCREAMING_SNAKE_CASE for static variableauthors
690f555
Merge pull request #5382 from clap-rs/renovate/pre-commit-action-3.xa2aa644
chore(deps): update compatible (dev) (#5381)c233de5
chore(deps): update pre-commit/action action to v3.0.1Updates
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.11.1Commits
adcf2b5
Bump version to 0.11.1a9e83bd
Merge pull request #33 from madsmtm/more-niche-platforms33512bc
Improve support for niche platformsUpdates
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.
Commits
4a19cd4
Merge pull request #2175 from reaperhulk/changelog4e0e05a
bump openssl and openssl-sys + changelogsc2b124a
Be explicit that aliases are not part of X.509 certificates1abf4a5
Merge pull request #2167 from alex/expose-aliasa644ec2
Merge pull request #2170 from botovq/crypto-free83940d1
LibreSSL 3.9: fix CRYPTO_malloc/free signatures51fc569
Merge pull request #2168 from sfackler/alex-patch-13c53dee
Added binding for EVP_default_properties_enable_fipsa12abe1
Expose alias on X509 structs3acf2ef
Merge pull request #2157 from reaperhulk/rebuild-if-changedUpdates
axum
from 0.7.4 to 0.7.5Release notes
Sourced from axum's releases.
Commits
ef8a9e8
Release axum and axum-extra (#2676)c6fd852
Updatesync_wrapper
to 1.0.0 from 0.1.12ec68d6
Add rejection tracing to all extractors (#2584)2ce382f
Remove h2 from dependencies when http2 feature is off (#2605)... _Description has been truncated_