structopt icon indicating copy to clipboard operation
structopt copied to clipboard

Replace proc-macro-error with proc-macro2-diagnostics

Open tamird opened this issue 1 year ago • 4 comments

See individual commits.

I realize this crate is deprecated in favor of clap, but it still seems to enjoy some 10,000-40,000 downloads per day over the past three months. Updating to syn@2 is likely to have positive effect on compilation time for dependents.

See https://crates.io/crates/structopt-derive for download graphs.

tamird avatar Jan 07 '24 23:01 tamird

@TeXitoi could you have a look please?

tamird avatar Mar 14 '24 09:03 tamird

That’s a big change for a frozen crate. I’ll try to have a look, but no promise.

TeXitoi avatar Mar 14 '24 11:03 TeXitoi

I realize this crate is deprecated in favor of clap, but it still seems to enjoy some 10,000-40,000 downloads per day over the past three months. Updating to syn@2 is likely to have positive effect on compilation time for dependents.

imo that effort would be better spent migrating some of the more popular users.

epage avatar Mar 14 '24 14:03 epage

You mean like this? https://github.com/rust-lang/git2-rs/pull/1007 https://github.com/brendanzab/codespan/pull/357 https://github.com/marshallpierce/rust-base64/pull/262

tamird avatar Mar 14 '24 15:03 tamird

I close this MR as there is no activity.

TeXitoi avatar Sep 30 '24 06:09 TeXitoi

If you can close it, maybe you can also review and accept it?

tamird avatar Sep 30 '24 08:09 tamird

Sorry. I don't want a regression, and there is one.

Also, I'm quite anxious at this PR as this is a big library change, and it might cause a behavior change.

I know that you worked in this and that closing this deny your work, but it adds more risk than advantages for my point of view.

TeXitoi avatar Sep 30 '24 11:09 TeXitoi

Ack. Salvaged some useful stuff into #542 + added GitHub CI.

tamird avatar Sep 30 '24 14:09 tamird