Domain derive fails to build. The syn crate seems to have changed.
$ cargo build
Compiling domain_derive v0.2.137
error[E0432]: unresolved import `syn::export`
--> /home/andrew/.cargo/registry/src/github.com-1ecc6299db9ec823/domain_derive-0.2.137/src/entity.rs:3:10
|
3 | use syn::export::TokenStream2;
| ^^^^^^ could not find `export` in `syn`
error[E0432]: unresolved import `syn::export`
--> /home/andrew/.cargo/registry/src/github.com-1ecc6299db9ec823/domain_derive-0.2.137/src/value_object.rs:3:10
|
3 | use syn::export::Span;
| ^^^^^^ could not find `export` in `syn`
error[E0432]: unresolved import `syn::export`
--> /home/andrew/.cargo/registry/src/github.com-1ecc6299db9ec823/domain_derive-0.2.137/src/domain_events.rs:2:10
|
2 | use syn::export::TokenStream2;
| ^^^^^^ could not find `export` in `syn`
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0432`.
error: could not compile `domain_derive`
Domain derive fails to build. The syn crate seems to have changed.