Skip to content

Commit

Permalink
Update Cargo.toml manifest version and docs.rs metadata
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
lopopolo committed Feb 10, 2022
1 parent a1bb26c commit 13c7f89
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ std = []
rand_core = { version = "0.6.2", default-features = false, optional = true }

[dev-dependencies]
getrandom = { version = "0.2", default-features = false }
getrandom = { version = "0.2.0", default-features = false }

# Check that crate versions are properly updated in documentation and code when
# bumping the version.
Expand All @@ -38,4 +38,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. `rand_mt` 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"]

0 comments on commit 13c7f89

Please sign in to comment.