File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,17 @@ server = []
1515
1616shared-secret-registration-mac = [" dep:hex" , " dep:hmac" , " dep:sha1" ]
1717
18- unstable-exhaustive-types = []
19-
2018[dependencies ]
2119hex = { version = " 0.4.3" , optional = true }
2220hmac = { version = " 0.12.1" , optional = true }
23- ruma = { version = " 0.9.4 " , features = [" api" , " events" ] }
21+ ruma = { version = " 0.12.0 " , features = [" api" , " events" ] }
2422serde = { version = " 1.0.118" , features = [" derive" ] }
2523sha1 = { version = " 0.10.1" , optional = true }
2624
2725[dev-dependencies ]
2826serde_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+ ] }
Original file line number Diff line number Diff line change 88{
99 struct BoolOrUIntVisitor ;
1010
11- impl < ' de > Visitor < ' de > for BoolOrUIntVisitor {
11+ impl Visitor < ' _ > for BoolOrUIntVisitor {
1212 type Value = bool ;
1313
1414 fn expecting ( & self , formatter : & mut std:: fmt:: Formatter ) -> std:: fmt:: Result {
You can’t perform that action at this time.
0 commit comments