From 40ed424116df2e293e6217fc0c943e0527fd38c5 Mon Sep 17 00:00:00 2001 From: Ben Wishovich Date: Mon, 14 Nov 2022 16:57:08 -0800 Subject: [PATCH] Add denylist for optional Cargo features --- examples/counter-isomorphic/Cargo.toml | 3 +++ examples/hackernews/Cargo.toml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/examples/counter-isomorphic/Cargo.toml b/examples/counter-isomorphic/Cargo.toml index 42ab349e7..af8ce316c 100644 --- a/examples/counter-isomorphic/Cargo.toml +++ b/examples/counter-isomorphic/Cargo.toml @@ -31,3 +31,6 @@ default = ["csr"] csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"] hydrate = ["leptos/hydrate", "leptos_meta/hydrate", "leptos_router/hydrate"] ssr = ["dep:actix-files", "dep:actix-web", "leptos/ssr", "leptos_meta/ssr", "leptos_router/ssr"] + +[package.metadata.cargo-all-features] +denylist = ["actix-files", "actix-web"] \ No newline at end of file diff --git a/examples/hackernews/Cargo.toml b/examples/hackernews/Cargo.toml index 57d2342cb..d0f3e5b01 100644 --- a/examples/hackernews/Cargo.toml +++ b/examples/hackernews/Cargo.toml @@ -38,3 +38,6 @@ ssr = [ "leptos_meta/ssr", "leptos_router/ssr", ] + +[package.metadata.cargo-all-features] +denylist = ["actix-files", "actix-web"]