Skip to content

Upgrade serde_repr to 0.1.5

Tom Parker-Shemilt requested to merge palfrey/zbus:upgrade-serde_repr into main

Right now, if you try and compile zbus with serde_repr at 0.1.0 (as is implied should work from the "0.1" version specifier) e.g. via rm -f Cargo.lock && cargo +nightly build -Z minimal-versions you get lots of errors like

error: cannot find macro `quote_spanned` in this scope
  --> /home/palfrey/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_repr-0.1.0/src/lib.rs:52:23
   |
52 |       TokenStream::from(quote! {
   |  _______________________^
53 | |         impl serde::Serialize for #ident {
54 | |             fn serialize<S>(&self, serializer: S) -> core::result::Result<S::Ok, S::Error>
55 | |             where
...  |
65 | |         }
66 | |     })
   | |_____^
   |
   = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)

0.1.5 is the first version to use quote 1.0 (see https://github.com/dtolnay/serde-repr/compare/0.1.4...0.1.5)

Merge request reports

Loading