From 7827dd6490d99d82180422f6ba86e1481ae32e03 Mon Sep 17 00:00:00 2001 From: David Lemarier Date: Sun, 25 Apr 2021 19:39:27 -0400 Subject: [PATCH] Make `infer` optional --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6e6144e..f501cac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ objc_id = "0.1.1" os_info = "3.0.1" uuid = { version = "0.8", features = ["v4"], optional = true } url = "2.1.1" -infer = "0.4" +infer = { version = "0.4", optional = true } [dev-dependencies] eval = "0.4" @@ -37,7 +37,7 @@ cloudkit = [] color_fallbacks = [] quicklook = [] user-notifications = ["uuid"] -webview = [] +webview = ["infer"] webview-downloading-macos = [] [package.metadata.bundle.example.ios-beta]