From f80cef80cf685066fb50385e14568bf86e700d88 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Mon, 18 Feb 2019 22:24:25 +0000 Subject: Use ssmarshal to convert data from and to byte slices Previously, we manually converted the request and response data from and to byte slices. This patch adds the ssmarshal dependency that automates the serialization and deserialization in the required format. --- Cargo.toml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index e3614d5..a11296e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,6 +22,15 @@ package = "stm32f1xx-hal" version = "0.1.1" features = ["stm32f103", "rt"] +[dependencies.serde] +version = "1.0" +default-features = false +features = ["derive"] + +[dependencies.ssmarshal] +version = "1.0" +default-features = false + [profile.release] codegen-units = 1 debug = true -- cgit v1.2.1