Skip to content

Commit 0b3f0b5

Browse files
committed
fix!: Make format feature additive
Fixes #588
1 parent b03a0f5 commit 0b3f0b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/file/format/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ mod json5;
2727
///
2828
/// Although it is possible to define custom formats using [`Format`] trait it is recommended to use `FileFormat` if possible.
2929
#[derive(Debug, Clone, Copy, Eq, PartialEq, Hash)]
30+
#[non_exhaustive]
3031
pub enum FileFormat {
3132
/// TOML (parsed with toml)
3233
#[cfg(feature = "toml")]

0 commit comments

Comments
 (0)