aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2024-06-01 21:57:04 +0200
committerAndreas Grois <andi@grois.info>2024-06-01 21:57:04 +0200
commit63832a24759a9502d86bbc8700a5960f95759598 (patch)
tree7d81e978ad0c48900272c3e511b962c73ef81b0d /Cargo.toml
parent0a89a1d45f0469798cdbc0f8a434026f0c676ba3 (diff)
Make strum an optional dependency.
To enable it, enable the "strum" feature flag.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml7
1 files changed, 5 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index a50c73d..247a523 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,13 +16,16 @@ readme = "README.md"
default = ["precomputed_common_max_powers"]
precomputed_max_powers = ["precomputed_common_max_powers"]
precomputed_common_max_powers = []
+strum = ["dep:strum", "dep:strum_macros"]
[dependencies]
unicode-segmentation = "1.10.0"
-strum = "0.26.0"
-strum_macros = "0.26.0"
+strum = { version = "0.26.0", optional = true }
+strum_macros = { version = "0.26.0", optional = true }
[dev-dependencies]
+strum = "0.26.0"
+strum_macros = "0.26.0"
digest = "0.10.5"
md4 = "0.10.2"
md-5 = "0.10.5"