Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace proc-macro-error with proc-macro-error2 #1105

Closed
kanpov opened this issue Oct 8, 2024 · 2 comments
Closed

Replace proc-macro-error with proc-macro-error2 #1105

kanpov opened this issue Oct 8, 2024 · 2 comments

Comments

@kanpov
Copy link

kanpov commented Oct 8, 2024

As per rust-lang/docs.rs#2595 :

  • proc-macro-error is unmaintained with creator being unreachable
  • syn 1.x being pulled in likely means duplication of syn

So if the conversion is easy, the affected utoipa-gen should be converted asap imo.

@juhaku
Copy link
Owner

juhaku commented Oct 8, 2024

utoipa-gen does not use proc-macro-error but instead it is probably coming from some inner dependency: Duplicate for #1028

@juhaku juhaku closed this as completed Oct 8, 2024
@juhaku
Copy link
Owner

juhaku commented Oct 8, 2024

To elaborate this further, it did use it before but the latest releases does not use it. It is at least known to be used by the rust_decimal crate. But perhaps there are others as well.

You could use cargo tree --format "{p} {f}" to debug and try to find where exactly the proc-macro-error dependency is coming from.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants