@@ -27,7 +27,7 @@ mod ron;
2727#[ cfg( feature = "json5" ) ]
2828mod json5;
2929
30- #[ cfg( feature = "ura " ) ]
30+ #[ cfg( feature = "gura " ) ]
3131mod gura;
3232
3333/// File formats provided by the library.
@@ -59,8 +59,8 @@ pub enum FileFormat {
5959 #[ cfg( feature = "json5" ) ]
6060 Json5 ,
6161
62- /// GURA (parsed with ura )
63- #[ cfg( feature = "ura " ) ]
62+ /// GURA (parsed with gura )
63+ #[ cfg( feature = "gura " ) ]
6464 Gura ,
6565}
6666
@@ -88,7 +88,7 @@ lazy_static! {
8888 #[ cfg( feature = "json5" ) ]
8989 formats. insert( FileFormat :: Json5 , vec![ "json5" ] ) ;
9090
91- #[ cfg( feature = "ura " ) ]
91+ #[ cfg( feature = "gura " ) ]
9292 formats. insert( FileFormat :: Gura , vec![ "ura" ] ) ;
9393
9494 formats
@@ -127,7 +127,7 @@ impl FileFormat {
127127 #[ cfg( feature = "json5" ) ]
128128 FileFormat :: Json5 => json5:: parse ( uri, text) ,
129129
130- #[ cfg( feature = "ura " ) ]
130+ #[ cfg( feature = "gura " ) ]
131131 FileFormat :: Gura => gura:: parse ( uri, text) ,
132132
133133 #[ cfg( all(
@@ -137,6 +137,7 @@ impl FileFormat {
137137 not( feature = "ini" ) ,
138138 not( feature = "ron" ) ,
139139 not( feature = "json5" ) ,
140+ not( feature = "gura" ) ,
140141 ) ) ]
141142 _ => unreachable ! ( "No features are enabled, this library won't work without features" ) ,
142143 }
0 commit comments