From 0b5b3653e4da1df6293e042d67e57c50ca4d4818 Mon Sep 17 00:00:00 2001 From: Ty Overby Date: Sat, 3 Jan 2015 11:31:48 -0800 Subject: [PATCH] update readme to reflect library changes --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 536f742..a53946b 100644 --- a/README.md +++ b/README.md @@ -18,15 +18,15 @@ library. ```rust extern crate bincode; -extern crate serialize; +extern crate "rustc-serialize" as rustc_serialize; -#[deriving(Encodable, Decodable, PartialEq)] +#[deriving(RustcEncodable, RustcDecodable, PartialEq)] struct Entity { x: f32, y: f32, } -#[deriving(Encodable, Decodable, PartialEq)] +#[deriving(RustcEncodable, RustcDecodable, PartialEq)] struct World { entities: Vec }