Add support for the camel case mode, instead of regular mode.

This commit is contained in:
Oleksandr Kozachuk
2022-12-11 15:20:52 +01:00
parent 681ce3db23
commit ad920e8f05
3 changed files with 39 additions and 2 deletions
+2
View File
@@ -28,6 +28,7 @@ pub enum Mode {
RegularUpcase,
NoSpace,
NoSpaceUpcase,
NoSpaceCamel,
Hex,
HexUpcase,
Base64,
@@ -45,6 +46,7 @@ impl std::fmt::Display for Mode {
Mode::RegularUpcase => "UR",
Mode::NoSpace => "N",
Mode::NoSpaceUpcase => "UN",
Mode::NoSpaceCamel => "C",
Mode::Hex => "H",
Mode::HexUpcase => "UH",
Mode::Base64 => "B",