Put compare modules behind feature flag in library.

This commit is contained in:
Tom Alexander 2023-04-21 18:50:52 -04:00
parent 18323a2b43
commit 8420af7f1d
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -1,9 +1,16 @@
#![feature(round_char_boundary)]
#![feature(exit_status_error)]
#[cfg(feature = "compare")]
mod compare;
#[cfg(feature = "compare")]
pub use compare::compare_document;
#[cfg(feature = "compare")]
pub use compare::emacs_parse_org_document;
#[cfg(feature = "compare")]
pub use compare::sexp;
mod error;
mod parser;
pub use compare::compare_document;
pub use compare::emacs_parse_org_document;
pub use compare::sexp;
pub use parser::*;