diff options
author | Andreas Grois <andi@grois.info> | 2024-06-01 21:57:04 +0200 |
---|---|---|
committer | Andreas Grois <andi@grois.info> | 2024-06-01 21:57:04 +0200 |
commit | 63832a24759a9502d86bbc8700a5960f95759598 (patch) | |
tree | 7d81e978ad0c48900272c3e511b962c73ef81b0d /Cargo.toml | |
parent | 0a89a1d45f0469798cdbc0f8a434026f0c676ba3 (diff) |
Make strum an optional dependency.
To enable it, enable the "strum" feature flag.
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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" |