diff --git a/Cargo.toml b/Cargo.toml index 4be2b80..d6bb0e7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ authors = ["Thomas Gideon "] description = "JWT library for rust using serde, serde_json and openssl" homepage = "http://github.com/commandline/meiallion" repository = "http://github.com/commandline/medallion" +documentation = "https://commandline.github.io/medallion/" readme = "README.md" keywords = ["JWT", "token", "web"] license = "MIT" diff --git a/README.md b/README.md index 6de567c..966648c 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ A JWT library for rust using serde, serde_json and openssl. +## Documentation + +* https://commandline.github.io/medallion/ + ## Usage The library provides a `Token` type that wraps a header and claims. The claims can be any type that implements the `Component` trait, which is automatically implemented for types that implement the `Sized`, `Encodable`, diff --git a/src/lib.rs b/src/lib.rs index 987a785..3b8f1f3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,6 @@ +#![crate_name = "medallion"] +#![crate_type = "lib"] +#![doc(html_root_url = "https://commandline.github.io/medallion/")] extern crate base64; extern crate openssl; extern crate serde;