File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,7 @@ pub struct RegularizedOpenId4VciRequestData<'a> {
4141// Implement From on a Reference
4242impl < ' a > From < & ' a OpenId4VciRequestData > for RegularizedOpenId4VciRequestData < ' a > {
4343 fn from ( value : & ' a OpenId4VciRequestData ) -> Self {
44- let mut configurations =
45- Vec :: with_capacity ( value. credential_configuration_ids . len ( ) ) ;
44+ let mut configurations = Vec :: with_capacity ( value. credential_configuration_ids . len ( ) ) ;
4645
4746 if let Some ( metadata) = & value. credential_issuer_metadata {
4847 for id in & value. credential_configuration_ids {
@@ -67,7 +66,12 @@ pub mod credential_offer {
6766
6867 #[ derive( DeJson , Debug , Default ) ]
6968 #[ nserde( default ) ]
70- pub struct Grant { }
69+ pub struct Grant {
70+ // Workaround for nanoserde bug:
71+ // https://github.com/not-fl3/nanoserde/issues/157
72+ #[ allow( unused) ]
73+ pub _dummy_not_in_use : i32 ,
74+ }
7175}
7276
7377mod credential_issuer_metadata {
You can’t perform that action at this time.
0 commit comments