From 1884ac0e4ec30201d787f9be4dbda87dac0f015e Mon Sep 17 00:00:00 2001 From: Simon Johnston Date: Mon, 23 Mar 2020 20:32:20 -0700 Subject: [PATCH] Updated Cargo.toml metadata --- .gitignore | 5 +++++ Cargo.toml | 15 ++++++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e80fab9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +.idea + +/target + +Cargo.lock diff --git a/Cargo.toml b/Cargo.toml index 0e41dac..4e09f7f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,17 +2,26 @@ name = "email_address" version = "0.1.0" authors = ["Simon Johnston "] -description = "Provides a new type for validation of email addresses" +description = "A Rust crate providing an implementation of an RFC-compliant `EmailAddress` newtype. " +documentation = "https://docs.rs/email_address/" +repository = "https://github.com/johnstonskj/rust-email_address.git" edition = "2018" license = "MIT" readme = "README.md" publish = true +[package.metadata.docs.rs] +# This only builds a single target for documentation. +targets = ["x86_64-unknown-linux-gnu"] + +[badges.travis-ci] +branch = "master" +repository = "johnstonskj/rust-email_address" + [features] default = ["serde_support"] serde_support = ["serde"] [dependencies] - -# Optional dependencies serde = { optional = true, version = "1.0", features = ["derive"] } +