From 14ac823aefdce8d7bff0033921c4fb46df301827 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 4 Mar 2026 17:58:58 -0700
Subject: [PATCH] chore(deps): bump strum_macros from 0.27.2 to 0.28.0 in
/codex-rs (#13210)
Bumps [strum_macros](https://github.com/Peternator7/strum) from 0.27.2
to 0.28.0.
Changelog
Sourced from strum_macros's
changelog.
0.28.0
-
#461:
Allow any kind of passthrough attributes on
EnumDiscriminants.
- Previously only list-style attributes (e.g.
#[strum_discriminants(derive(...))]) were supported. Now
path-only
(e.g. #[strum_discriminants(non_exhaustive)]) and
name/value (e.g. #[strum_discriminants(doc =
"foo")])
attributes are also supported.
-
#462:
Add missing #[automatically_derived] to generated impls not
covered by #444.
-
#466:
Bump MSRV to 1.71, required to keep up with updated syn and
windows-sys dependencies. This is a breaking change if
you're on an old version of rust.
-
#469:
Use absolute paths in generated proc macro code to avoid
potential name conflicts.
-
#465:
Upgrade phf dependency to v0.13.
-
#473:
Fix cargo fmt / clippy issues and add GitHub
Actions CI.
-
#477:
strum::ParseError now implements
core::fmt::Display instead
std::fmt::Display to make it #[no_std]
compatible. Note the Error trait wasn't available in core
until 1.81
so strum::ParseError still only implements that in std.
-
#476:
Breaking Change - EnumString now
implements From<&str>
(infallible) instead of TryFrom<&str> when the
enum has a #[strum(default)] variant. This more accurately
reflects that parsing cannot fail in that case. If you need the old
TryFrom behavior, you can opt back in using
parse_error_ty and parse_error_fn:
#[derive(EnumString)]
#[strum(parse_error_ty = strum::ParseError, parse_error_fn =
make_error)]
pub enum Color {
Red,
#[strum(default)]
Other(String),
}
fn make_error(x: &str) -> strum::ParseError {
strum::ParseError::VariantNotFound
}
#431:
Fix bug where EnumString ignored the
parse_err_ty
attribute when the enum had a #[strum(default)]
variant.
#474:
EnumDiscriminants will now copy default over from the
original enum to the Discriminant enum.
#[derive(Debug, Default, EnumDiscriminants)]
#[strum_discriminants(derive(Default))] // <- Remove this in 0.28.
enum MyEnum {
#[default] // <- Will be the #[default] on the MyEnumDiscriminant
#[strum_discriminants(default)] // <- Remove this in 0.28
Variant0,
Variant1 { a: NonDefault },
}
... (truncated)
Commits
7376771
Peternator7/0.28 (#475)
26e63cd
Display exists in core (#477)
9334c72
Make TryFrom and FromStr infallible if there's a default (#476)
0ccbbf8
Honor parse_err_ty attribute when the enum has a default variant (#431)
2c9e5a9
Automatically add Default implementation to EnumDiscriminant if it
exists on ...
e241243
Fix existing cargo fmt + clippy issues and add GH actions (#473)
639b67f
feat: allow any kind of passthrough attributes on
EnumDiscriminants (#461)
0ea1e2d
docs: Fix typo (#463)
36c051b
Upgrade phf to v0.13 (#465)
9328b38
Use absolute paths in proc macro (#469)
- Additional commits viewable in compare
view
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
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 show ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric Traut
---
codex-rs/Cargo.lock | 12 ++++++------
codex-rs/Cargo.toml | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/codex-rs/Cargo.lock b/codex-rs/Cargo.lock
index ab8743e84..7c2b39b87 100644
--- a/codex-rs/Cargo.lock
+++ b/codex-rs/Cargo.lock
@@ -1475,7 +1475,7 @@ dependencies = [
"serde_with",
"shlex",
"similar",
- "strum_macros 0.27.2",
+ "strum_macros 0.28.0",
"tempfile",
"thiserror 2.0.18",
"tracing",
@@ -2199,7 +2199,7 @@ dependencies = [
"reqwest",
"serde",
"serde_json",
- "strum_macros 0.27.2",
+ "strum_macros 0.28.0",
"thiserror 2.0.18",
"tokio",
"tokio-tungstenite",
@@ -2254,7 +2254,7 @@ dependencies = [
"serde_json",
"serde_with",
"strum 0.27.2",
- "strum_macros 0.27.2",
+ "strum_macros 0.28.0",
"sys-locale",
"tempfile",
"tracing",
@@ -2486,7 +2486,7 @@ dependencies = [
"serial_test",
"shlex",
"strum 0.27.2",
- "strum_macros 0.27.2",
+ "strum_macros 0.28.0",
"supports-color 3.0.2",
"syntect",
"tempfile",
@@ -9209,9 +9209,9 @@ dependencies = [
[[package]]
name = "strum_macros"
-version = "0.27.2"
+version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7695ce3845ea4b33927c055a39dc438a45b059f7c1b3d91d38d10355fb8cbca7"
+checksum = "ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664"
dependencies = [
"heck",
"proc-macro2",
diff --git a/codex-rs/Cargo.toml b/codex-rs/Cargo.toml
index 21cbad4b1..af4c0cf5a 100644
--- a/codex-rs/Cargo.toml
+++ b/codex-rs/Cargo.toml
@@ -262,7 +262,7 @@ sqlx = { version = "0.8.6", default-features = false, features = [
] }
starlark = "0.13.0"
strum = "0.27.2"
-strum_macros = "0.27.2"
+strum_macros = "0.28.0"
supports-color = "3.0.2"
syntect = "5"
sys-locale = "0.3.2"