From 81acfc65ededd306a8c2b46d483caee8244c52ca Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Wed, 26 Dec 2018 15:51:08 +0100 Subject: Use serde_derive to deserialize primstav data into a struct. This makes it much easier to work with the data. Adds some restrictions on the yaml data though, all elements must be present, even if empty. --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 81c7ed8..958872d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,4 +6,6 @@ edition = "2018" [dependencies] chrono = "0.4.6" +serde = "*" +serde_derive = "*" serde_yaml = "0.8.8" -- cgit v1.2.3