Skip to main content

dprint_plugin_dockerfile/
lib.rs

1pub mod ast;
2pub mod configuration;
3mod error;
4mod format_text;
5mod generation;
6mod parser;
7
8pub use error::FormatError;
9pub use error::ParseError;
10pub use format_text::format_text;
11
12#[cfg(feature = "tracing")]
13pub use format_text::trace_file;
14
15#[cfg(feature = "wasm")]
16#[cfg(all(target_arch = "wasm32", target_os = "unknown"))]
17mod wasm_plugin;
18
19#[cfg(feature = "wasm")]
20#[cfg(all(target_arch = "wasm32", target_os = "unknown"))]
21pub use wasm_plugin::*;