From 27eb46421892706b755d2ea3d0dd514bfb731b25 Mon Sep 17 00:00:00 2001
From: Covertness <wuyingfengsui@gmail.com>
Date: Sun, 12 Jul 2015 17:47:37 +0800
Subject: [PATCH] add doc link

---
 Cargo.toml | 1 +
 README.md  | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/Cargo.toml b/Cargo.toml
index 6b6c7f8..835a9a9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,6 +3,7 @@ name = "coap"
 version = "0.1.0"
 description = "A CoAP library"
 readme = "README.md"
+documentation = "http://covertness.github.io/coap-rs/coap/index.html"
 repository = "https://github.com/covertness/coap-rs"
 license = "MIT"
 authors = ["Yang Zhang <wuyingfengsui@gmail.com>"]
diff --git a/README.md b/README.md
index a7c9f7b..c80402e 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,8 @@
 
 A [Constrained Application Protocol(CoAP)](https://tools.ietf.org/html/rfc7252) library implemented in Rust.
 
+[Documentation](http://covertness.github.io/coap-rs/coap/index.html)
+
 ## Installation
 
 First add this to your `Cargo.toml`:
-- 
GitLab