1
0
mirror of https://github.com/danog/strum.git synced 2024-12-02 09:27:57 +01:00
strum/strum_tests/Cargo.toml
Ten0 832dd862c7
Add support for PHF in EnumString (#220)
* Support phf crate for faster match on large enums

* comment

* add changelog entry

* add tests, embed phf, and improve lowercase support

* fix doc change

* Refactor & support case insensitive with case sensitive phf match

* more tests, some fixes of new implementation and prep for feature
2022-04-30 15:23:28 -07:00

22 lines
459 B
TOML

[package]
name = "strum_tests"
version = "0.24.0"
edition = "2018"
authors = ["Peter Glotfelty <peglotfe@microsoft.com>"]
[features]
default = ["test_phf"]
test_phf = ["strum/phf"]
[dependencies]
strum = { path = "../strum", features = ["derive"] }
strum_macros = { path = "../strum_macros", features = [] }
clap = "=2.33.0"
enum_variant_type = "=0.2.0"
structopt = "0.2.18"
bitflags = "=1.2"
if_rust_version = "1.0"
[dev-dependencies]
rustversion = "1.0"