frozenlib / parse-display

Procedural macro to implement Display and FromStr using common settings.
Apache License 2.0
182 stars 14 forks source link

`regex-syntax` is outdated in `parse-display-derive` #29

Closed filips123 closed 1 year ago

filips123 commented 1 year ago

Currently, the latest parse-display-derive@0.8.1 still depends on regex-syntax@0.6, while the newer regex-syntax@0.7 is available since April. regex, starting with 1.8.0, already uses the newer regex-syntax@0.7, which causes it to be duplicated, once the older version which parse-display-derive directly depends on, and once the newer version through the regex crate:

regex-syntax v0.6.29
└── parse-display-derive v0.8.1 (proc-macro)
    └── parse-display v0.8.1 (*)

regex-syntax v0.7.4
├── regex v1.9.1
│   ├── parse-display v0.8.1 (*)
│   └── parse-display-derive v0.8.1 (proc-macro) (*)
└── regex-automata v0.3.3
    └── regex v1.9.1 (*)

Because of this, parse-display-derive should probably be updated to support the latest regex-syntax. There were some major (internal) changes to the regex crate recently, but I don't know if they also apply to regex-syntax and parse-display-derive should be changed because of them.