We were running into issues where the documents grew too large for being passed as a string to emacs, and we need to handle #+setupfile so we need to start handling org-mode documents as files and not just as anonymous streams of text. The anonymous stream of text handling will remain because the automated tests use it.
19 lines
485 B
Rust
19 lines
485 B
Rust
#![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_anonymous_org_document;
|
|
#[cfg(feature = "compare")]
|
|
pub use compare::emacs_parse_file_org_document;
|
|
#[cfg(feature = "compare")]
|
|
pub use compare::get_emacs_version;
|
|
#[cfg(feature = "compare")]
|
|
pub use compare::get_org_mode_version;
|
|
|
|
mod error;
|
|
pub mod parser;
|