File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ use crate::number::NumberDeserializer;
2222pub use crate :: read:: { Read , SliceRead , StrRead } ;
2323
2424#[ cfg( feature = "std" ) ]
25+ #[ cfg_attr( docsrs, doc( cfg( feature = "std" ) ) ) ]
2526pub use crate :: read:: IoRead ;
2627
2728//////////////////////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change 365365extern crate alloc;
366366
367367#[ cfg( feature = "std" ) ]
368+ #[ cfg_attr( docsrs, doc( cfg( feature = "std" ) ) ) ]
368369#[ doc( inline) ]
369370pub use crate :: de:: from_reader;
370371#[ doc( inline) ]
@@ -374,6 +375,7 @@ pub use crate::error::{Error, Result};
374375#[ doc( inline) ]
375376pub use crate :: ser:: { to_string, to_string_pretty, to_vec, to_vec_pretty} ;
376377#[ cfg( feature = "std" ) ]
378+ #[ cfg_attr( docsrs, doc( cfg( feature = "std" ) ) ) ]
377379#[ doc( inline) ]
378380pub use crate :: ser:: { to_writer, to_writer_pretty, Serializer } ;
379381#[ doc( inline) ]
Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ pub use crate::map::Map;
106106pub use crate :: number:: Number ;
107107
108108#[ cfg( feature = "raw_value" ) ]
109+ #[ cfg_attr( docsrs, doc( cfg( feature = "raw_value" ) ) ) ]
109110pub use crate :: raw:: { to_raw_value, RawValue } ;
110111
111112/// Represents any valid JSON value.
You can’t perform that action at this time.
0 commit comments