Skip to content

Commit e0d0c65

Browse files
committed
Bump strum dependency to 0.28
1 parent b5b8b89 commit e0d0c65

File tree

12 files changed

+108
-32
lines changed

12 files changed

+108
-32
lines changed

Cargo.lock

Lines changed: 76 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
description = "A versatile cross-platform playground for Rust snippets, expressions and programs.\nAccepts a script file or dynamic options."
33
name = "thag_rs"
4-
version = "0.2.1"
4+
version = "0.2.2"
55
authors = ["Don Forbes <don.forbes3@gmail.com>"]
66
edition = "2021"
77
license = "MIT OR Apache-2.0"
@@ -270,7 +270,7 @@ serde_yaml_ok = { version = "0.9", optional = true }
270270
side-by-side-diff = { version = "0.1", optional = true }
271271
simplelog = { version = "0.12", optional = true }
272272
strict = "0.2"
273-
strum = { version = "0.27", features = ["derive", "phf"] }
273+
strum = { version = "0.28", features = ["derive", "phf"] }
274274
syn = { version = "2", features = [
275275
"extra-traits",
276276
"full",

demo/colors_old.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
/*[toml]
22
[dependencies]
33
thag_rs = { version = "0.2, thag-auto", default-features = false, features = ["color_detect", "core", "simplelog"] }
4+
5+
[features]
6+
default = ["strum/phf"] # Because `strum` omits to publish "phf" feature for discovery by cargo-lookup.
47
*/
58
/// A version of `thag_rs`'s now defunct `colors` module to style messages according to their type. Like the `stdin`
69
/// module, `colors` was originally developed here as a separate script and integrated as a module later.

demo/colors_orig.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*[toml]
22
[dependencies]
33
log = "0.4.22"
4-
simplelog = { version = "0.12.2", optional = true }
4+
simplelog = { version = "0.12", optional = true }
55
thag_rs = { version = "0.2, thag-auto", default-features = false, features = ["color_detect", "core", "simplelog"] }
66
77
[features]

demo/config_with_tests.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
[dependencies]
33
thag_rs = { version = "0.2, thag-auto", default-features = false, features = ["config", "core", "simplelog"] }
44
toml = "0.9"
5+
6+
[features]
7+
default = ["strum/phf"] # Because `strum` omits to publish "phf" feature for discovery by cargo-lookup.
58
*/
69

710
/// Demo of unit testing a non-snippet source file such as a library module using `thag --test-only` `(thag -T)`.

demo/proc_macro_category_enum.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*[toml]
22
[dependencies]
3-
strum = { version = "0.27", features = ["derive", "phf"] }
3+
strum = { version = "0.28", features = ["derive", "phf"] }
44
# The `thag` command uses the `thag-auto` keyword here to resolve dependencies automatically based on your environment:
55
# - Default: Uses crates.io (no environment variables needed)
66
# - Development: Set THAG_DEV_PATH=/absolute/path/to/thag_rs (e.g. $PWD not .)

demo/styling_demo.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ thag_styling = { version = "0.2, thag-auto", features = ["color_detect"] }
44
55
[target.'cfg(target_os = "windows")'.dependencies]
66
thag_styling = { version = "0.2, thag-auto", features = ["config"] }
7+
8+
[dependencies]
9+
strum = { version = "0.28", features = ["derive", "phf"] }
10+
11+
# [features]
12+
# default = ["strum/phf"] # Because `strum` omits to publish "phf" feature for discovery by cargo-lookup.
713
*/
814
/// Demonstrates the colour and styling options of `thag_rs`.
915
/// Also demos the full 256-colour palette as per `demo/colors*.rs`.

thag_common/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "thag_common"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
authors = ["Don Forbes <don.forbes3@gmail.com>"]
55
edition = "2021"
66
license = "MIT OR Apache-2.0"
@@ -18,7 +18,7 @@ log = "0.4"
1818
parking_lot = "0.12"
1919
regex = "1.11"
2020
serde = { version = "1.0", features = ["derive"] }
21-
strum = { version = "0.27", features = ["derive", "phf"] }
21+
strum = { version = "0.28", features = ["derive", "phf"] }
2222
thiserror = "2.0"
2323

2424
# Config feature dependencies

thag_demo/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "thag_demo"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
edition = "2021"
55
authors = ["Don Forbes <don.forbes3@gmail.com>"]
66
description = "Interactive demos for thag_rs and thag_profiler - run Rust profiling examples without installing thag"
@@ -26,7 +26,7 @@ inferno = "0.12"
2626
inquire = "0.9"
2727
shell-words = "1.1"
2828
thag_profiler = { version = "0.1.1", path = "../thag_profiler" }
29-
thag_rs = { version = "0.2.1", path = "../", features = [
29+
thag_rs = { version = "0.2.2", path = "../", features = [
3030
"build",
3131
"color_detect",
3232
"simplelog",

thag_proc_macros/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "thag_proc_macros"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
authors = ["Don Forbes <don.forbes3@gmail.com>"]
55
description = "Procedural macros for the thag_rs and thag_profiler crates"
66
repository = "https://github.com/durbanlegend/thag_rs"
@@ -26,7 +26,7 @@ syn = { version = "2.0", default-features = false, features = [
2626
toml = { version = "0.9" }
2727

2828
[dev-dependencies]
29-
strum = { version = "0.27", features = ["derive", "phf"] }
29+
strum = { version = "0.28", features = ["derive", "phf"] }
3030

3131
[features]
3232
time_profiling = [] # New feature for conditional compilation

0 commit comments

Comments
 (0)