| 1 | // for bragging rights |
| 2 | #![forbid(unsafe_code)] |
| 3 | // |
| 4 | // useful asserts that's off by default |
| 5 | #![warn(clippy::manual_assert)] |
| 6 | #![warn(clippy::semicolon_if_nothing_returned)] |
| 7 | // |
| 8 | // these are often intentionally not collapsed for readability |
| 9 | #![allow(clippy::collapsible_else_if)] |
| 10 | #![allow(clippy::collapsible_if)] |
| 11 | #![allow(clippy::collapsible_match)] |
| 12 | // |
| 13 | // these are intentional in bevy systems: nobody is directly calling those, |
| 14 | // so extra arguments don't decrease readability |
| 15 | #![allow(clippy::too_many_arguments)] |
| 16 | #![allow(clippy::type_complexity)] |
| 17 | // |
| 18 | // just a style choice that clippy has no business complaining about |
| 19 | #![allow(clippy::uninlined_format_args)] |
| 20 | |
| 21 | pub mod common; |
| 22 | pub mod examples; |
| 23 | pub mod generics; |
| 24 | pub mod parser; |
| 25 | pub mod plugins; |
| 26 | |
| 27 | pub use parser::main::MarkdownIt; |
| 28 | pub use parser::node::{Node, NodeValue}; |
| 29 | pub use parser::renderer::Renderer; |