advisory-db icon indicating copy to clipboard operation
advisory-db copied to clipboard

custom_derive is unmaintained

Open jayvdb opened this issue 11 months ago • 1 comments

https://crates.io/crates/custom_derive is unmaintained. Last release was Nov 2016.

It seems fairly clear that maintainer Daniel Keep would not object to it being declared as unmaintained.

The crate description include

(Note: superseded by macro-attr)

Crate repository links to branch https://github.com/DanielKeep/rust-custom-derive/tree/custom_derive-master

https://crates.io/crates/macro_attr is by the same author, and is what is currently at the repo https://github.com/DanielKeep/rust-custom-derive , and hasnt been touched since Nov 2016. The tests currently fail - PRs to fix this exist.

Since Dec 2018, @DanielKeep has only had two activity on github.

The transition from custom_derive to macro-attr is fairly easy, e.g. https://github.com/DanielKeep/rust-conv/pull/14 and https://gitlab.com/antonok/enum_dispatch/-/merge_requests/44

Those two PRs are for the two crates which are the most popular usages of custom_derive on https://crates.io/crates/custom_derive/reverse_dependencies

Crate https://crates.io/crates/conv is also by Daniel Keep, so that would be the next one which may need to be flagged as unmaintained

jayvdb avatar Jan 18 '25 22:01 jayvdb

I have emailed Daniel Keep advising him of this issue and https://github.com/DanielKeep/rust-conv/pull/14 as the most important PR to be merged.

jayvdb avatar Jan 18 '25 23:01 jayvdb

https://github.com/mmtk/mmtk-core/pull/603 is an example of using https://crates.io/crates/strum instead of custom_derive

jayvdb avatar Sep 07 '25 00:09 jayvdb

Alternatives for conv are being collated at https://github.com/rustsec/advisory-db/issues/2386

jayvdb avatar Sep 07 '25 09:09 jayvdb