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 cc59139 commit a76cb3d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,10 @@ std = []
version = "0.9.3"
default-features = false
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. `focaccie` has the same API and code on all targets.
default-target = "x86_64-unknown-linux-gnu"
targets = []
rustdoc-args = ["--cfg", "docsrs"]

0 comments on commit a76cb3d

Please sign in to comment.