@@ -22,6 +22,22 @@ pub enum Badge {
22
22
GitLab {
23
23
repository : String , branch : Option < String > ,
24
24
} ,
25
+ #[ serde( rename = "is-it-maintained-issue-resolution" ) ]
26
+ IsItMaintainedIssueResolution {
27
+ repository : String ,
28
+ } ,
29
+ #[ serde( rename = "is-it-maintained-open-issues" ) ]
30
+ IsItMaintainedOpenIssues {
31
+ repository : String ,
32
+ } ,
33
+ #[ serde( rename = "codecov" ) ]
34
+ Codecov {
35
+ repository : String , branch : Option < String > , service : Option < String > ,
36
+ } ,
37
+ #[ serde( rename = "coveralls" ) ]
38
+ Coveralls {
39
+ repository : String , branch : Option < String > , service : Option < String > ,
40
+ } ,
25
41
}
26
42
27
43
#[ derive( RustcEncodable , RustcDecodable , PartialEq , Debug , Deserialize ) ]
@@ -50,6 +66,10 @@ impl Badge {
50
66
Badge :: TravisCi { ..} => "travis-ci" ,
51
67
Badge :: Appveyor { ..} => "appveyor" ,
52
68
Badge :: GitLab { ..} => "gitlab" ,
69
+ Badge :: IsItMaintainedIssueResolution { ..} => "is-it-maintained-issue-resolution" ,
70
+ Badge :: IsItMaintainedOpenIssues { ..} => "is-it-maintained-open-issues" ,
71
+ Badge :: Codecov { ..} => "codecov" ,
72
+ Badge :: Coveralls { ..} => "coveralls" ,
53
73
}
54
74
}
55
75
0 commit comments