Bump dependencies.
This commit is contained in:
parent
557ac4b485
commit
82a20e23da
14
Cargo.toml
14
Cargo.toml
@ -13,26 +13,26 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
quote = "0.6.12"
|
quote = "0.6.12"
|
||||||
ruma-api = "0.7.0"
|
ruma-api = "0.8.0"
|
||||||
|
|
||||||
[dependencies.syn]
|
[dependencies.syn]
|
||||||
version = "0.15.30"
|
version = "0.15.35"
|
||||||
features = ["full"]
|
features = ["full"]
|
||||||
|
|
||||||
[dependencies.proc-macro2]
|
[dependencies.proc-macro2]
|
||||||
version = "0.4.27"
|
version = "0.4.30"
|
||||||
features = ["nightly"]
|
features = ["nightly"]
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
futures = "0.1.26"
|
futures = "0.1.27"
|
||||||
http = "0.1.17"
|
http = "0.1.17"
|
||||||
hyper = "0.12.27"
|
hyper = "0.12.29"
|
||||||
serde_json = "1.0.39"
|
serde_json = "1.0.39"
|
||||||
serde_urlencoded = "0.5.4"
|
serde_urlencoded = "0.5.5"
|
||||||
url = "1.7.2"
|
url = "1.7.2"
|
||||||
|
|
||||||
[dev-dependencies.serde]
|
[dev-dependencies.serde]
|
||||||
version = "1.0.90"
|
version = "1.0.92"
|
||||||
features = ["derive"]
|
features = ["derive"]
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
@ -454,7 +454,7 @@ impl ToTokens for Api {
|
|||||||
|
|
||||||
Box::new(future_response)
|
Box::new(future_response)
|
||||||
} else {
|
} else {
|
||||||
Box::new(::futures::future::err(::ruma_api::Error::StatusCode(http_response.status().clone())))
|
Box::new(::futures::future::err(http_response.status().clone().into()))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user