diff --git a/Makefile.toml b/Makefile.toml index 2d039de..12db6d5 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -215,6 +215,7 @@ fn main() { out["dependencies"] = src["dependencies"].clone(); out["dev-dependencies"] = src["dev-dependencies"].clone(); out["build-dependencies"] = src["build-dependencies"].clone(); + out["package.metadata.docs.rs"] = src["build-dependencies"].clone(); write("./rc/Cargo.toml", out.to_string()).expect("unable to write rc/Cargo.toml!"); } else if &command == "check" { if !compare(&src["package"]["version"], &out["package"]["version"]) diff --git a/rc/Cargo.toml b/rc/Cargo.toml index 8961fdc..06412e5 100644 --- a/rc/Cargo.toml +++ b/rc/Cargo.toml @@ -13,15 +13,15 @@ categories = ["data-structures"] keywords = ["immutable", "persistent", "hamt", "b-tree", "rrb-tree"] build = "../build.rs" +[package.metadata.docs.rs] +all-features = true + [lib] path = "../src/lib.rs" [badges] travis-ci = { repository = "bodil/im-rs" } -[package.metadata.docs.rs] -all-features = true - [build-dependencies] version_check = "0.9" @@ -46,3 +46,6 @@ rand = { version = "0.7", features = ["small_rng"] } pretty_assertions = "0.6" metrohash = "1.0.6" proptest-derive = "0.1.0" + +["package.metadata.docs.rs"] +version_check = "0.9"