From ceb5a6d6eab97affd069bf3a57e7adab7901c6ab Mon Sep 17 00:00:00 2001 From: chyyran Date: Thu, 16 Feb 2023 00:55:47 -0500 Subject: [PATCH] build(docs.rs): properly specify no default features --- librashader-cache/Cargo.toml | 3 ++- librashader-capi/Cargo.toml | 2 +- librashader/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/librashader-cache/Cargo.toml b/librashader-cache/Cargo.toml index 060d049..ee41311 100644 --- a/librashader-cache/Cargo.toml +++ b/librashader-cache/Cargo.toml @@ -38,4 +38,5 @@ d3d = ["windows"] docsrs = ["blake3/pure"] [package.metadata.docs.rs] -features = ["docsrs"] \ No newline at end of file +features = ["docsrs"] +no-default-features = true diff --git a/librashader-capi/Cargo.toml b/librashader-capi/Cargo.toml index 626b3b9..d67a32f 100644 --- a/librashader-capi/Cargo.toml +++ b/librashader-capi/Cargo.toml @@ -39,5 +39,5 @@ optional = true [package.metadata.docs.rs] targets = ["x86_64-pc-windows-msvc", "x86_64-unknown-linux-gnu"] -default-features = false +no-default-features = true features = ["runtime-all", "librashader/docsrs"] \ No newline at end of file diff --git a/librashader/Cargo.toml b/librashader/Cargo.toml index 253c828..56a2dfb 100644 --- a/librashader/Cargo.toml +++ b/librashader/Cargo.toml @@ -60,5 +60,5 @@ docsrs = ["librashader-cache/docsrs"] [package.metadata.docs.rs] targets = ["x86_64-pc-windows-msvc", "x86_64-unknown-linux-gnu"] -default-features = false +no-default-features = true features = [ "librashader-cache/docsrs" ]