organic/src/lib.rs

40 lines
1.0 KiB
Rust
Raw Normal View History

#![feature(exit_status_error)]
2023-09-02 22:40:01 +00:00
#![feature(trait_alias)]
#![feature(path_file_prefix)]
#![feature(is_sorted)]
#![feature(test)]
#![feature(iter_intersperse)]
#![feature(exact_size_is_empty)]
2023-09-11 17:09:46 +00:00
// TODO: #![warn(missing_docs)]
2023-10-16 21:58:52 +00:00
#![allow(clippy::bool_assert_comparison)] // Sometimes you want the long form because its easier to see at a glance.
extern crate test;
#[cfg(feature = "compare")]
pub mod compare;
pub mod parse_cli;
2023-12-31 03:02:43 +00:00
#[cfg(any(feature = "compare", feature = "wasm", feature = "wasm_test"))]
2024-01-04 04:04:47 +00:00
mod util;
2023-12-27 13:49:34 +00:00
#[cfg(any(feature = "wasm", feature = "wasm_test"))]
2024-01-04 04:38:04 +00:00
mod wasm;
#[cfg(any(feature = "wasm", feature = "wasm_test"))]
pub mod wasm_cli;
2023-12-27 13:17:15 +00:00
#[cfg(feature = "wasm_test")]
pub mod wasm_test;
mod context;
mod error;
#[cfg(feature = "event_count")]
mod event_count;
mod iter;
2023-09-11 17:13:28 +00:00
pub mod parser;
pub mod types;
2023-09-29 20:37:22 +00: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;
}