From 8421f2c03d6f905b58b5447a6e0469519c7f8fa6 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sun, 5 Jan 2020 20:44:27 +0100 Subject: Initial --- src/options.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/options.rs (limited to 'src/options.rs') diff --git a/src/options.rs b/src/options.rs new file mode 100644 index 0000000..3b36e52 --- /dev/null +++ b/src/options.rs @@ -0,0 +1,17 @@ +pub struct Options { + pub latin1_as_utf8: bool, + pub file: String, +} + +impl Default for Options { + fn default() -> Self { + Options { + latin1_as_utf8: false, + file: String::new(), + } + } +} + +pub struct EncodingOptions { + pub latin1_as_utf8: bool, +} -- cgit v1.2.3