Update deps, bump versions

This commit is contained in:
Jonas Platte 2020-05-14 13:07:14 +02:00
parent 78717b71bf
commit 4d702558bb
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
5 changed files with 20 additions and 13 deletions

View File

@ -1,5 +1,12 @@
# [unreleased] # [unreleased]
# 0.16.1
Bug fixes:
* Update ruma-serde to 0.2.0, fixing some issues with query string deserialization (some issues
still remain but will be fixed in a semver-compatible version)
# 0.16.0 # 0.16.0
Breaking changes: Breaking changes:

View File

@ -12,21 +12,21 @@ license = "MIT"
name = "ruma-api" name = "ruma-api"
readme = "README.md" readme = "README.md"
repository = "https://github.com/ruma/ruma-api" repository = "https://github.com/ruma/ruma-api"
version = "0.16.0" version = "0.16.1"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
http = "0.2.1" http = "0.2.1"
percent-encoding = "2.1.0" percent-encoding = "2.1.0"
ruma-api-macros = { version = "=0.16.0", path = "ruma-api-macros" } ruma-api-macros = { version = "=0.16.1", path = "ruma-api-macros" }
ruma-identifiers = "0.16.1" ruma-identifiers = "0.16.1"
ruma-serde = "0.1.3" ruma-serde = "0.2.0"
serde = { version = "1.0.106", features = ["derive"] } serde = { version = "1.0.110", features = ["derive"] }
serde_json = "1.0.52" serde_json = "1.0.53"
strum = "0.18.0" strum = "0.18.0"
[dev-dependencies] [dev-dependencies]
ruma-events = "0.21.0" ruma-events = "0.21.1"
[workspace] [workspace]
members = [ members = [

View File

@ -12,13 +12,13 @@ license = "MIT"
name = "ruma-api-macros" name = "ruma-api-macros"
readme = "README.md" readme = "README.md"
repository = "https://github.com/ruma/ruma-api" repository = "https://github.com/ruma/ruma-api"
version = "0.16.0" version = "0.16.1"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
proc-macro2 = "1.0.12" proc-macro2 = "1.0.12"
quote = "1.0.4" quote = "1.0.5"
syn = { version = "1.0.18", features = ["full", "extra-traits"] } syn = { version = "1.0.21", features = ["full", "extra-traits"] }
[lib] [lib]
proc-macro = true proc-macro = true

View File

@ -29,8 +29,8 @@ impl From<serde_json::Error> for IntoHttpError {
} }
#[doc(hidden)] #[doc(hidden)]
impl From<ruma_serde::urlencoded::error::Error> for IntoHttpError { impl From<ruma_serde::urlencoded::ser::Error> for IntoHttpError {
fn from(err: ruma_serde::urlencoded::error::Error) -> Self { fn from(err: ruma_serde::urlencoded::ser::Error) -> Self {
Self(SerializationError::Query(err)) Self(SerializationError::Query(err))
} }
} }
@ -195,7 +195,7 @@ impl<E: std::error::Error> std::error::Error for ServerError<E> {}
#[derive(Debug)] #[derive(Debug)]
enum SerializationError { enum SerializationError {
Json(serde_json::Error), Json(serde_json::Error),
Query(ruma_serde::urlencoded::error::Error), Query(ruma_serde::urlencoded::ser::Error),
} }
/// This type is public so it is accessible from `ruma_api!` generated code. /// This type is public so it is accessible from `ruma_api!` generated code.

View File

@ -9,7 +9,7 @@
//! input parameters for requests, and the structure of a successful response. //! input parameters for requests, and the structure of a successful response.
//! Such types can then be used by client code to make requests, and by server code to fulfill //! Such types can then be used by client code to make requests, and by server code to fulfill
//! those requests. //! those requests.
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
#![warn(rust_2018_idioms)] #![warn(rust_2018_idioms)]
#![deny(missing_copy_implementations, missing_debug_implementations, missing_docs)] #![deny(missing_copy_implementations, missing_debug_implementations, missing_docs)]