This release marks the beginning of stabilization for runtime metrics. It
stabilizes RuntimeMetrics::worker_count. Future releases will continue to
stabilize more metrics.
Experimental support for key-value logging behind unstable-kv
[0.11.2] - 2024-02-13
[0.11.1] - 2024-01-27
Fixes
Allow styling with Target::Pipe
[0.11.0] - 2024-01-19
Migration Guide
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
The EnumVariantNames macro has been renamed VariantNames. The deprecation warning should steer you in
the right direction for fixing the warning.
The Iterator struct generated by EnumIter now has new bounds on it. This shouldn't break code unless you manually
added the implementation in your code.
Display now supports format strings using named fields in the enum variant. This should be a no-op for most code.
#360: Fixes bug introduced with new string interpolation feature where
unit structs took an implicit unnecessary dependency on ::core::alloc.
0.26.3 (strum_macros)
#344: Hide EnumTable because it's going to be deprecated in the next
version.
#357: Fixes an incompatiblity with itertools by using the fully
qualified name rather than the inherent method.
#345: Allows unnamed tuple like variants to use their variants in
string interpolation. #[strum(to_string = "Field 0: {0}, Field 1: {1})")] will now work for tuple variants
#334: Support prefix in AsRefStr. Technically a breaking change,
but prefix was just added in 0.26.0 so it's a newer feature and it makes the feature more consisent in general.
The EnumVariantNames macro has been renamed VariantNames. The deprecation warning should steer you in
the right direction for fixing the warning.
The Iterator struct generated by EnumIter now has new bounds on it. This shouldn't break code unless you manually
added the implementation in your code.
Display now supports format strings using named fields in the enum variant. This should be a no-op for most code.
However, if you were outputting a string like "Hello {field}", this will now be interpretted as a format string.
EnumDiscriminant now inherits the repr and discriminant values from your main enum. This makes the discriminant type
closer to a mirror of the original and that's always the goal.
New features
The VariantArray macro has been added. This macro adds an associated constant VARIANTS to your enum. The constant
is a &'static [Self] slice so that you can access all the variants of your enum. This only works on enums that only
have unit variants.
use strum::VariantArray;
#[derive(Debug, VariantArray)]
enum Color {
Red,
Blue,
The EnumVariantNames macro has been renamed VariantNames. The deprecation warning should steer you in
the right direction for fixing the warning.
The Iterator struct generated by EnumIter now has new bounds on it. This shouldn't break code unless you manually
added the implementation in your code.
Display now supports format strings using named fields in the enum variant. This should be a no-op for most code.
However, if you were outputting a string like "Hello {field}", this will now be interpretted as a format string.
EnumDiscriminant now inherits the repr and discriminant values from your main enum. This makes the discriminant type
closer to a mirror of the original and that's always the goal.
New features
The VariantArray macro has been added. This macro adds an associated constant VARIANTS to your enum. The constant
is a &'static [Self] slice so that you can access all the variants of your enum. This only works on enums that only
have unit variants.
use strum::VariantArray;
#[derive(Debug, VariantArray)]
enum Color {
Red,
Blue,
Green,
#334: Support prefix in AsRefStr. Technically a breaking change,
but prefix was just added in 0.26.0 so it's a newer feature and it makes the feature more consisent in general.
The EnumVariantNames macro has been renamed VariantNames. The deprecation warning should steer you in
the right direction for fixing the warning.
The Iterator struct generated by EnumIter now has new bounds on it. This shouldn't break code unless you manually
added the implementation in your code.
Display now supports format strings using named fields in the enum variant. This should be a no-op for most code.
However, if you were outputting a string like "Hello {field}", this will now be interpretted as a format string.
EnumDiscriminant now inherits the repr and discriminant values from your main enum. This makes the discriminant type
closer to a mirror of the original and that's always the goal.
New features
The VariantArray macro has been added. This macro adds an associated constant VARIANTS to your enum. The constant
is a &'static [Self] slice so that you can access all the variants of your enum. This only works on enums that only
have unit variants.
use strum::VariantArray;
#[derive(Debug, VariantArray)]
enum Color {
Red,
Blue,
Green,
}
The EnumTable macro has been experimentally added. This macro adds a new type that stores an item for each variant
of the enum. This is useful for storing a value for each variant of an enum. This is an experimental feature because
I'm not convinced the current api surface area is correct.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove...
_Description has been truncated_
Bumps the all group with 15 updates in the / directory:
1.37.0
1.38.0
1.0.116
1.0.117
1.0.199
1.0.203
1.0.82
1.0.86
0.10.2
0.11.3
0.8.6
0.9.0
4.5.4
4.5.7
0.11.27
0.12.4
0.11.1
0.12.0
2.2.1
2.3.1
0.25.3
0.26.4
0.25.0
0.26.2
1.0.59
1.0.61
0.12.2
0.12.3
0.11.1
0.11.2
Updates
tokio
from 1.37.0 to 1.38.0Release notes
Sourced from tokio's releases.
... (truncated)
Commits
14c17fc
chore: prepare Tokio v1.38.0 (#6601)65cbf73
chore: prepare tokio-macros v2.3.0 (#6600)dbf93c7
sync: fix incorrect is_empty on mpsc block boundaries (#6603)873cb8a
runtime: move task out of thelifo_slot
inblock_in_place
(#6596)97bb47b
task: fix a typo in doc ofLocalSet::run_until
(#6599)86658bd
metrics: stabilizeRuntimeMetrics::worker_count
(#6556)9e00b26
sync: addNotify::notify_last
(#6520)6c42d28
net: fix misleadingNamedPipeServer
example (#6590)3a6fdc0
license: fix formatting and remove year in licenses (#6451)2890d0c
metrics: fix blocking_threads count (#6551)Updates
serde_json
from 1.0.116 to 1.0.117Release notes
Sourced from serde_json's releases.
Commits
0ae247c
Release 1.0.1174517c7a
PartialEq is not implemented between Value and 128-bit intsfdf99c7
Combine number PartialEq testsb4fc245
Merge pull request #1130 from serde-rs/checkcfg98f1a24
Resolve unexpected_cfgs warningUpdates
serde
from 1.0.199 to 1.0.203Release notes
Sourced from serde's releases.
Commits
d5bc546
Release 1.0.20345ae217
Merge pull request #2747 from dtolnay/variadicb7b97dd
Unindent implementation inside tuple_impl_body macro5d3c563
Document tuple impls as fake variadic3761854
Merge pull request #2745 from dtolnay/docsrsa8f1484
Rely on docs.rs to define --cfg=docsrs by default9e32a40
Release 1.0.20287f635e
Release serde_derive_internals 0.29.1d4b2dfb
Merge pull request #2743 from dtolnay/renameallrulesf6ab0bc
Provide public access to RenameAllRules in serde_derive_internalsUpdates
anyhow
from 1.0.82 to 1.0.86Release notes
Sourced from anyhow's releases.
Commits
8ea1819
Release 1.0.860a1b405
Merge pull request #373 from dtolnay/minusnege0c74f2
Ensure $:literal never matches negative literal013c66e
Fix parse error with non-literal after minus signca7aff7
Add binary operator ensure tests2737bbe
Release 1.0.8582b8b34
Merge pull request #371 from dtolnay/splitad78d70
Preserve more token spans in expression parser5cce406
Parse comparison operators before other binary operators7205394
Merge pull request #369 from dtolnay/tokensplitUpdates
env_logger
from 0.10.2 to 0.11.3Release notes
Sourced from env_logger's releases.
Changelog
Sourced from env_logger's changelog.
... (truncated)
Commits
98ce803
chore: Release7a16130
docs: Update changeloge55af6f
Merge pull request #137 from tmccombs/structuredf6e2d45
feat(kv): Use now-stable kv feature of log crate9f4a33a
feat(kv): Add styling for key in default format9d26ad5
feat: Add support for Key-Value data in log records8962096
Merge pull request #314 from rust-cli/renovate/pre-commit-action-3.x4127228
chore(deps): update pre-commit/action action to v3.0.1b0e3ea9
chore: Release522ce17
Merge pull request #310 from epage/docsUpdates
chrono-tz
from 0.8.6 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
clap
from 4.5.4 to 4.5.7Release notes
Sourced from clap's releases.
Changelog
Sourced from clap's changelog.
Commits
6c6839a
chore: Releasee79ff0d
docs: Update changelogbe2e5ca
Merge pull request #5527 from epage/mincf5c958
fix(parser): Report correct num_args on too-fewe0c9619
test(parser): Snapshot num_args errors2f645d3
chore: Release6e1e036
docs: Update changelog7e1bbf8
Merge pull request #5523 from ben--/zsh-colon8e3c273
fix(zsh): Separate options from _arguments optionsUpdates
reqwest
from 0.11.27 to 0.12.4Release notes
Sourced from reqwest's releases.
... (truncated)
Changelog
Sourced from reqwest's changelog.
Commits
de5dbb1
v0.12.40f126f5
tests: fix blocking test about empty bodies and content-length1073881
feat: add zstd support (#1866)1af8945
feat: add ClientBuilder::read_timeout(dur) (#2241)e99da85
refactor: fix warnings related to mutability ofself
(#2245)0720159
v0.12.39209695
Remove duplicate example for ClientBuilder::default_headers (#2236)e3a1565
fix: use lower case domain string when usingresolve
andresolve_to_addrs
...b4c491a
feat: allow fine-grained root certs for rustls (#2232)cf4295d
chore: update winreg to 0.52.0 (#2226)Updates
if-addrs
from 0.11.1 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 WindowsUpdates
async-channel
from 2.2.1 to 2.3.1Release notes
Sourced from async-channel's releases.
Changelog
Sourced from async-channel's changelog.
Commits
1acd52b
v2.3.155513f9
Add minimal-versions check to CI43a2e7c
Update minimal concurrent-queue version to 2.514571d8
Use the reexported event-listener from event-listener-strategy (#91)5c4b849
v2.3.03fc1130
feat: Add a force send functionUpdates
strum_macros
from 0.25.3 to 0.26.4Release notes
Sourced from strum_macros's releases.
... (truncated)
Changelog
Sourced from strum_macros's changelog.
... (truncated)
Commits
Updates
strum
from 0.25.0 to 0.26.2Release notes
Sourced from strum's releases.
... (truncated)
Changelog
Sourced from strum's changelog.
... (truncated)
Commits
Updates
thiserror
from 1.0.59 to 1.0.61Release notes
Sourced from thiserror's releases.
Commits
5c80163
Release 1.0.61e3b1b91
Format PR 299 with rustfmt6b2b871
Merge pull request #299 from quartiq/corece974bc
also {std -> core}::panic::UnwindSafe7b6e35b
use core::fmt instead of std::fmt870d11b
Release 1.0.600ccee7c
Merge pull request #298 from dtolnay/checkcfgcf43d0c
Resolve unexpected_cfgs warningUpdates
parking_lot
from 0.12.2 to 0.12.3Changelog
Sourced from parking_lot's changelog.
Commits
a29dd3d
Release parking_lot 0.12.3f7efcae
Merge pull request #442 from iwanders/add-arc_lock-feature-top-level-exportsc357017
Export types provided by arc_lock feature.Updates
mosquitto-rs
from 0.11.1 to 0.11.2Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show