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
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());
Use different method to ignore feature-dependent doctests (#1534)
Thanks to all contributors on behalf of the chrono team, @djc and @pitdicker!
v0.4.35
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.
Bumps the all group with 22 updates:
1.35.1
1.37.0
1.0.111
1.0.115
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.37
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
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.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.115Release notes
Sourced from serde_json's releases.
Commits
b1ebf38
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 comments3a3f61b
Temporarily disable miri on doctests4a0be88
Format regression tests with rustfmtd2dbbf7
Ignore dead code lint in tests8e7b37b
Merge pull request #1118 from serde-rs/transparenta25f6c6
Remove conditional on repr(transparent)fedf834
Ignore non_local_definitions false positive in testUpdates
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.37Release notes
Sourced from chrono's releases.
... (truncated)
Commits
7d62045
Prepare 0.4.376857d00
Hide re-export ofLocalResult
in docs9e22e48
SwapMappedLocalTime
andLocalResult
type aliasca3c3b6
Prepare 0.4.361850198
RevertTimeDelta
deprecationse05ba8b
AddMappedLocalTime::and_then
3adfd88
Main documentation: simplify links and reflow text1e8df65
Rustfmt doc comments1b57859
Run doctests withalloc
feature if possible6f2c7cc
Use different method to run feature-dependent doctestsUpdates
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
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/changelogSuperseded by #170.