From 5d77230fea8b023dede65c74ec793adf6f21c7e1 Mon Sep 17 00:00:00 2001
From: Covertness <wuyingfengsui@gmail.com>
Date: Wed, 6 Jul 2016 20:48:02 +0800
Subject: [PATCH] update version number

---
 Cargo.toml | 2 +-
 README.md  | 2 +-
 src/lib.rs | 6 ++++--
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index 54f482c..a4ddda1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "coap"
-version = "0.4.0"
+version = "0.5.0"
 description = "A CoAP library"
 readme = "README.md"
 documentation = "http://covertness.github.io/coap-rs/coap/index.html"
diff --git a/README.md b/README.md
index f0aa3c8..92c2434 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ First add this to your `Cargo.toml`:
 
 ```toml
 [dependencies]
-coap = "0.4"
+coap = "0.5"
 ```
 
 Then, add this to your crate root:
diff --git a/src/lib.rs b/src/lib.rs
index 1c1c732..b3e8969 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -11,7 +11,7 @@
 //!
 //! ```toml
 //! [dependencies]
-//! coap = "0.3"
+//! coap = "0.5"
 //! ```
 //!
 //! Then, add this to your crate root:
@@ -31,7 +31,9 @@
 
 //! fn request_handler(request: CoAPRequest) -> Option<CoAPResponse> {
 //! 	println!("Receive request: {:?}", request);
-//!     None
+//!     
+//!     // Return the auto-generated response
+//!     request.response
 //! }
 
 //! fn main() {
-- 
GitLab