From 953ba776617b53fff3e80a0e1be9af20c79f8de7 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Wed, 3 Feb 2021 15:47:16 -0700 Subject: [PATCH] Fix the docs build on docs.rs Also, move crates.io's doc link to docs.rs. It's not required, but why not? --- Cargo.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3a064f3..22f1578 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,16 +8,20 @@ readme = "README.md" keywords = ["pmc", "freebsd"] repository = "https://github.com/domodwyer/pmc-rs" homepage = "https://github.com/domodwyer/pmc-rs" -documentation = "https://itsallbroken.com/code/docs/pmc-rs/pmc/index.html" description = """ A safe abstraction for interacting with Performance Monitor Counters on FreeBSD. """ categories = ["api-bindings"] +[package.metadata.docs.rs] +targets = [ + "x86_64-unknown-freebsd", +] + [lib] name = "pmc" [dependencies] pmc-sys = "0.1" libc = "0.2" -lazy_static = "1.0.0" \ No newline at end of file +lazy_static = "1.0.0"