From face857d5eec93c68dae7126b70dcca6b75b1409 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 18 Jan 2019 00:44:17 -0800 Subject: [PATCH] Update crates.io readme to 2018 edition --- crates-io.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/crates-io.md b/crates-io.md index d63c4ba9..3c6caa1a 100644 --- a/crates-io.md +++ b/crates-io.md @@ -16,11 +16,7 @@ You may be looking for: ## Serde in action ```rust -#[macro_use] -extern crate serde_derive; - -extern crate serde; -extern crate serde_json; +use serde::{Serialize, Deserialize}; #[derive(Serialize, Deserialize, Debug)] struct Point {