From 509827599dd2091f3cfa571ea2b1e836482b99b0 Mon Sep 17 00:00:00 2001 From: Ryan Lopopolo Date: Thu, 10 Feb 2022 08:01:58 -0800 Subject: [PATCH] Update Cargo.toml manifest version and docs.rs metadata - Use precise versions for dependencies. See: https://users.rust-lang.org/t/psa-please-specify-precise-dependency-versions-in-cargo-toml/71277 - Use the same style of docs.rs metadata as used in artichoke/raw-parts#24. --- Cargo.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4672aa5b..5578aee0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,8 +28,8 @@ cstr = [] [dev-dependencies] # Property testing for interner getters and setters. -quickcheck = { version = "1.0", default-features = false } -quickcheck_macros = "1.0" +quickcheck = { version = "1.0.3", default-features = false } +quickcheck_macros = "1.0.0" # Check that crate versions are properly updated in documentation and code when # bumping the version. @@ -41,5 +41,6 @@ features = ["markdown_deps_updated", "html_root_url_updated"] [package.metadata.docs.rs] # This sets the default target to `x86_64-unknown-linux-gnu` and only builds # that target. `intaglio` has the same API and code on all targets. -targets = ["x86_64-unknown-linux-gnu"] +default-target = "x86_64-unknown-linux-gnu" +targets = [] rustdoc-args = ["--cfg", "docsrs"]