diff --git a/CHANGELOG.md b/CHANGELOG.md index cbe5c559..4db88f01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # [unreleased] +# 0.13.1 + +Improvements: + +* Update ruma-api-macros to 0.10.1 + * `Incoming` types will now implement `Debug` + # 0.13.0 Breaking changes: diff --git a/Cargo.toml b/Cargo.toml index 76947227..ac18a4a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,13 +12,13 @@ license = "MIT" name = "ruma-api" readme = "README.md" repository = "https://github.com/ruma/ruma-api" -version = "0.13.0" +version = "0.13.1" edition = "2018" [dependencies] http = "0.2.0" percent-encoding = { version = "2.1.0", optional = true } -ruma-api-macros = { version = "=0.10.0", path = "ruma-api-macros", optional = true } +ruma-api-macros = { version = "=0.10.1", path = "ruma-api-macros", optional = true } ruma-identifiers = { version = "0.14.1", optional = true } serde = { version = "1.0.104", features = ["derive"], optional = true } serde_json = "1.0.47" diff --git a/ruma-api-macros/CHANGELOG.md b/ruma-api-macros/CHANGELOG.md index 12786e7a..a4c67b66 100644 --- a/ruma-api-macros/CHANGELOG.md +++ b/ruma-api-macros/CHANGELOG.md @@ -1,5 +1,11 @@ # [unreleased] +# 0.10.1 + +Improvements: + +* Derive `Debug` for `Incoming` types + # 0.10.0 Breaking changes: diff --git a/ruma-api-macros/Cargo.toml b/ruma-api-macros/Cargo.toml index b46ea7be..78defcf4 100644 --- a/ruma-api-macros/Cargo.toml +++ b/ruma-api-macros/Cargo.toml @@ -12,7 +12,7 @@ license = "MIT" name = "ruma-api-macros" readme = "README.md" repository = "https://github.com/ruma/ruma-api" -version = "0.10.0" +version = "0.10.1" edition = "2018" [dependencies] diff --git a/ruma-api-macros/src/derive_outgoing.rs b/ruma-api-macros/src/derive_outgoing.rs index a2411f43..0b1b0f51 100644 --- a/ruma-api-macros/src/derive_outgoing.rs +++ b/ruma-api-macros/src/derive_outgoing.rs @@ -27,7 +27,7 @@ pub fn expand_derive_outgoing(input: DeriveInput) -> syn::Result { let derive_deserialize = if no_deserialize_in_attrs(&input.attrs) { TokenStream::new() } else { - quote!(#[derive(ruma_api::exports::serde::Deserialize)]) + quote!(ruma_api::exports::serde::Deserialize) }; let (mut fields, struct_kind): (Vec<_>, _) = match input.data { @@ -92,7 +92,7 @@ pub fn expand_derive_outgoing(input: DeriveInput) -> syn::Result { Ok(quote! { #[doc = #doc] - #derive_deserialize + #[derive(Debug, #derive_deserialize)] #vis struct #incoming_ident #struct_def impl ruma_api::Outgoing for #original_ident {