From d887602266af2a842c26d29370ca7ad377159d55 Mon Sep 17 00:00:00 2001 From: Michel Heily Date: Thu, 16 Jan 2020 19:49:13 +0200 Subject: [PATCH] feat/savestates: Add serde and bincode traits to the project Former-commit-id: b4699586bba03b8fcfc718ea08363a7067d31e20 --- Cargo.toml | 2 ++ src/lib.rs | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index c5356f2..28dde61 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,8 @@ edition = "2018" default-run= "rba-sdl2" [dependencies] +serde = {version = "1.0.104", features = ["derive"] } +bincode = "1.2.1" byteorder = "1" num = "0.2.0" num-traits = "0.2" diff --git a/src/lib.rs b/src/lib.rs index 219c81f..3c2214a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,6 +2,10 @@ #![feature(core_intrinsics)] #![feature(exclusive_range_pattern)] +#[macro_use] +extern crate serde; +extern crate bincode; + #[macro_use] extern crate debug_stub_derive;