From 235e0eb4d0c842604849efe47a9de359705a18cb Mon Sep 17 00:00:00 2001 From: Jason Ozias Date: Sun, 14 Feb 2021 18:51:07 -0500 Subject: [PATCH] some docs updates I missed (#39) --- Cargo.toml | 6 +++--- src/lib.rs | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 98ce760f..ddf38490 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,12 @@ [package] authors = ["Jason Ozias "] categories = ["development-tools", "development-tools::build-utils"] -description = "Generate version related functions" +description = "Generate build, git, and rustc related 'cargo:rustc-env' instructions via 'build.rs' for use in your code via the env! macro" documentation = "http://docs.rs/vergen" edition = "2018" homepage = "http://github.com/rustyhorde/vergen" -keywords = ["version", "generation"] -license = "MIT/Apache-2.0" +keywords = ["cargo", "instructions", "semver", "git", "build.rs"] +license = "MIT OR Apache-2.0" name = "vergen" readme = "README.md" repository = "https://github.com/rustyhorde/vergen" diff --git a/src/lib.rs b/src/lib.rs index daab009e..6b26cb45 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -56,7 +56,10 @@ //! #.. //! //! [build-dependencies] -//! vergen = "3" +//! vergen = "4" +//! # or +//! vergen = { version = "4", default-features = false, features = ["build", "rustc"] } +//! # if you wish to disable certain features //! ``` //! //! ### build.rs