From 3bbf70575b517a99956efc3523e4bb33620313b5 Mon Sep 17 00:00:00 2001 From: hcpl Date: Tue, 31 Oct 2017 21:20:23 +0200 Subject: [PATCH] Clarify the README example for local builds --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index c2f35e9c..9058d244 100644 --- a/README.md +++ b/README.md @@ -20,10 +20,23 @@ You may be looking for: ## Serde in action +**Cargo.toml**: + +```toml +[dependencies] +serde = "1.0" +serde_derive = "1.0" +serde_json = "1.0" +``` + +Click on the "Run" button to have a quick taste: + +**src/lib.rs**: + ```rust #[macro_use] extern crate serde_derive;