diff --git a/Cargo.toml b/Cargo.toml index 722324f..c3e0825 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,4 +12,5 @@ teloxide = "0.10.1" tokio = { version = "1.20.1", features = ["rt-multi-thread", "macros"] } log = "0.4.17" pretty_env_logger = "0.4.0" -glob = "0.3.0" \ No newline at end of file +glob = "0.3.0" +itertools = "0.10.2" diff --git a/src/data/schema.rs b/src/data/schema.rs index d258400..642f746 100644 --- a/src/data/schema.rs +++ b/src/data/schema.rs @@ -41,7 +41,7 @@ pub struct Card { /// Localized name of the card. name: String, /// Unique seven-character identifier of the card. - card_code: [char; 7], + card_code: String, /// List of keywords of this card, with their localized names. keywords: Vec,