From 97e6c72f5767e1cd754c82317a21aa222c5d968b Mon Sep 17 00:00:00 2001 From: Delan Azabani Date: Tue, 12 Dec 2023 16:50:58 +0800 Subject: [PATCH] Add multiview feature flag in compositing and constellation (#30840) --- components/compositing/Cargo.toml | 1 + components/constellation/Cargo.toml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/components/compositing/Cargo.toml b/components/compositing/Cargo.toml index 8f8130ccc00..67fd9f3e9af 100644 --- a/components/compositing/Cargo.toml +++ b/components/compositing/Cargo.toml @@ -14,6 +14,7 @@ path = "lib.rs" [features] default = [] gl = ["gleam", "pixels"] +multiview = [] [dependencies] canvas = { path = "../canvas" } diff --git a/components/constellation/Cargo.toml b/components/constellation/Cargo.toml index ebb2030336d..f630a176862 100644 --- a/components/constellation/Cargo.toml +++ b/components/constellation/Cargo.toml @@ -10,6 +10,10 @@ publish = false name = "constellation" path = "lib.rs" +[features] +default = [] +multiview = [] + [dependencies] background_hang_monitor = { path = "../background_hang_monitor" } backtrace = { workspace = true }