diff --git a/Cargo.toml b/Cargo.toml index 6403f72..5e2f8c6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,3 +2,9 @@ name = "charsets" version = "0.1.0" authors = ["Pyfisch "] +description = "An enum representing all charset names commonly used." +readme = "README.md" +documentation = "http://pyfisch.github.io/rust-charsets/rust-charsets/index.html" +repository = "https://github.com/pyfisch/rust-charsets" +license = "MIT" +keywords = ["http", "charset", "encoding", "mime", "media-types"] diff --git a/README.md b/README.md index 58e8bac..125befd 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE) [![crates.io](http://meritbadge.herokuapp.com/rust-charsets)](https://crates.io/crates/rust-charsets) +The documentation is located at http://pyfisch.github.io/rust-charsets/ + The crate provides an enum representing all charset names used in Media Types and HTTP header values. The list can be found at [the IANA Character Sets registry](http://www.iana.org/assignments/character-sets/character-sets.xhtml). diff --git a/src/lib.rs b/src/lib.rs index 6097f77..0cbad72 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -#![deny(missing_docs)] +#![cfg_attr(test, deny(missing_docs))] #![cfg_attr(test, deny(warnings))] //! The crate provides an enum representing all charset names used in Media Types