Skip to content

Commit f7de785

Browse files
committed
Wip migrate out from proc macro error
Missing migration from `ToResponse`, `IntoResponses`, `axum_extras` and `rocket_extras`. Resolves #854
1 parent 9f8ebf3 commit f7de785

File tree

12 files changed

+1072
-734
lines changed

12 files changed

+1072
-734
lines changed

utoipa-gen/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ proc-macro = true
1616
proc-macro2 = "1.0"
1717
syn = { version = "2.0", features = ["full", "extra-traits"] }
1818
quote = "1.0"
19-
proc-macro-error = "1.0"
19+
# proc-macro-error = "1.0"
2020
regex = { version = "1.7", optional = true }
2121
uuid = { version = "1", features = ["serde"], optional = true }
2222
ulid = { version = "1", optional = true, default-features = false }

utoipa-gen/src/component.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::borrow::Cow;
22

33
use proc_macro2::{Ident, Span, TokenStream};
4-
use proc_macro_error::{abort, abort_call_site};
4+
// use proc_macro_error::{abort, abort_call_site};
55
use quote::{quote, quote_spanned, ToTokens};
66
use syn::spanned::Spanned;
77
use syn::{Attribute, GenericArgument, Path, PathArguments, PathSegment, Type, TypePath};

0 commit comments

Comments
 (0)