All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.3.0 - 2023-10-06
- 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
ClangFormatStyle
enum is now marked asnon_exhaustive
to allow for more styles in the future
ClangFormatError
is now private,thiserror
is used internally, and aimpl Error
is returned
0.2.0 - 2023-08-02
clang_format_with_style
method where the style is given
clang_format
now usesClangFormatStyle::Default
instead of reading fromCLANG_FORMAT_STYLE
CLANG_FORMAT_STYLE
OnceCell
0.1.3 - 2023-04-17
- Read
CLANG_FORMAT_BINARY
env var for customclang-format
locations