Releases: KDAB/clang-format-rs
Releases · KDAB/clang-format-rs
0.3.0
Added
- It is now possible to specify a custom clang-format style using
ClangFormatStyle::Custom(String)
- Support for
GNU
as a clang-format style - Support for
Microsoft
as a clang-format style
Changed
ClangFormatStyle
enum is now marked asnon_exhaustive
to allow for more styles in the future
Removed
ClangFormatError
is now private,thiserror
is used internally, and aimpl Error
is returned
0.2.0
Added
clang_format_with_style
method where the style is given
Changed
clang_format
now usesClangFormatStyle::Default
instead of reading fromCLANG_FORMAT_STYLE
Removed
CLANG_FORMAT_STYLE
OnceCell