Skip to content

Commit

Permalink
marked-yaml: Clean up the docs and export more at the top level
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
  • Loading branch information
kinnison committed Mar 23, 2024
1 parent e2faa3b commit 0384001
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion marked-yaml/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,15 @@
pub mod loader;
pub mod types;

pub use loader::{parse_yaml, LoadError};
#[doc(inline)]
pub use loader::{parse_yaml, parse_yaml_with_options, LoadError, LoaderOptions};
#[doc(inline)]
pub use types::{Marker, Node, Span};

#[cfg(feature = "serde")]
#[doc(hidden)]
pub mod spanned_serde;

#[cfg(feature = "serde")]
#[doc(inline)]
pub use spanned_serde::{from_node, Spanned};

0 comments on commit 0384001

Please sign in to comment.