Skip to content

Commit d2cdd4b

Browse files
committed
Upgrade ruma
1 parent 6b85e56 commit d2cdd4b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Cargo.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,17 @@ server = []
1515

1616
shared-secret-registration-mac = ["dep:hex", "dep:hmac", "dep:sha1"]
1717

18-
unstable-exhaustive-types = []
19-
2018
[dependencies]
2119
hex = { version = "0.4.3", optional = true }
2220
hmac = { version = "0.12.1", optional = true }
23-
ruma = { version = "0.9.4", features = ["api", "events"] }
21+
ruma = { version = "0.12.0", features = ["api", "events"] }
2422
serde = { version = "1.0.118", features = ["derive"] }
2523
sha1 = { version = "0.10.1", optional = true }
2624

2725
[dev-dependencies]
2826
serde_json = "1.0.61"
27+
28+
[lints.rust]
29+
unexpected_cfgs = { level = "warn", check-cfg = [
30+
'cfg(ruma_unstable_exhaustive_types)', # set all types as exhaustive
31+
] }

0 commit comments

Comments
 (0)