From 255598a2cb871ffc6cb3cc07a464acdd6e4d8293 Mon Sep 17 00:00:00 2001 From: Brian Dawn Date: Sat, 5 Jun 2021 08:05:08 -0500 Subject: [PATCH] Make rust-embed optionally included based on the embed_runtime feature. --- helix-core/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helix-core/Cargo.toml b/helix-core/Cargo.toml index 35f30ede..6ae244f9 100644 --- a/helix-core/Cargo.toml +++ b/helix-core/Cargo.toml @@ -9,7 +9,7 @@ license = "MPL-2.0" [features] -embed_runtime = [] +embed_runtime = ["rust-embed"] [dependencies] helix-syntax = { path = "../helix-syntax" } @@ -28,4 +28,4 @@ serde = { version = "1.0", features = ["derive"] } toml = "0.5" etcetera = "0.3" -rust-embed="5.9.0" +rust-embed = { version = "5.9.0", optional = true }