organic/src/lib.rs

36 lines
1.0 KiB
Rust
Raw Normal View History

#![feature(exit_status_error)]
2023-09-02 18:40:01 -04:00
#![feature(trait_alias)]
#![feature(path_file_prefix)]
#![feature(is_sorted)]
#![feature(test)]
2023-09-11 13:09:46 -04:00
// TODO: #![warn(missing_docs)]
2023-10-16 17:58:52 -04:00
#![allow(clippy::bool_assert_comparison)] // Sometimes you want the long form because its easier to see at a glance.
extern crate test;
2023-12-27 09:31:54 -05:00
// TODO: I only include compare to use some shared stuff like sexp and DiffResult. Ideally, this would be moved to a shared module.
#[cfg(any(feature = "compare", feature = "wasm_test"))]
pub mod compare;
2023-12-26 20:18:41 -05:00
#[cfg(any(feature = "compare", feature = "wasm_test"))]
pub mod util;
2023-12-27 08:49:34 -05:00
#[cfg(any(feature = "wasm", feature = "wasm_test"))]
pub mod wasm;
2023-12-27 08:17:15 -05:00
#[cfg(feature = "wasm_test")]
pub mod wasm_test;
mod context;
mod error;
#[cfg(feature = "event_count")]
pub mod event_count;
mod iter;
2023-09-11 13:13:28 -04:00
pub mod parser;
pub mod types;
2023-09-29 16:37:22 -04:00
pub mod settings {
pub use crate::context::FileAccessInterface;
pub use crate::context::GlobalSettings;
pub use crate::context::HeadlineLevelFilter;
pub use crate::context::LocalFileAccessInterface;
pub use crate::context::DEFAULT_TAB_WIDTH;
}