From 2db1a64796bfb43482fb74fd31b02a304b3d39c8 Mon Sep 17 00:00:00 2001 From: Ashley Mannix Date: Sat, 8 Oct 2022 11:26:42 +1000 Subject: [PATCH] ensure docs.rs includes unstable APIs --- Cargo.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 08e3bb1f..dc3adfab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,10 +30,13 @@ repository = "https://github.com/uuid-rs/uuid" version = "1.2.0" # remember to update html_root_url in lib.rs [package.metadata.docs.rs] -features = ["serde", "arbitrary", "slog", "v1", "v3", "v4", "v5"] +rustc-args = ["--cfg", "uuid_unstable"] +rustdoc-args = ["--cfg", "uuid_unstable"] +targets = ["x86_64-unknown-linux-gnu"] +features = ["serde", "arbitrary", "slog", "v1", "v3", "v4", "v5", "v6", "v7", "v8"] [package.metadata.playground] -features = ["serde", "v1", "v3", "v4", "v5"] +features = ["serde", "v1", "v3", "v4", "v5", "v6", "v7", "v8"] [badges.is-it-maintained-issue-resolution] repository = "uuid-rs/uuid"