diff --git a/Cargo.toml b/Cargo.toml index 7790f49..83c8d74 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "markets" -version = "0.4.0" +version = "0.4.1" authors = ["Jonathan Strong "] edition = "2018" description = "kind of like the http crate, except about tradeable markets" diff --git a/src/iso.rs b/src/iso.rs index f74dc65..f3f4fcb 100644 --- a/src/iso.rs +++ b/src/iso.rs @@ -5,7 +5,8 @@ use chrono_tz::Etc::GMTPlus5; use Market::*; -#[derive(Serialize, Deserialize, PartialEq, Eq, PartialOrd, Ord, Clone, Copy, Hash)] +#[serde(rename_all = "lowercase")] +#[derive(Serialize, Deserialize, PartialEq, Eq, PartialOrd, Ord, Clone, Copy, Hash, Debug)] #[repr(u8)] pub enum Market { Pjm = 1,