Put compare modules behind feature flag in library.
This commit is contained in:
parent
18323a2b43
commit
8420af7f1d
13
src/lib.rs
13
src/lib.rs
@ -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::*;
|
||||
|
Loading…
Reference in New Issue
Block a user