aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dawn2021-06-05 13:05:08 +0000
committerBlaž Hrastnik2021-06-06 01:49:17 +0000
commit255598a2cb871ffc6cb3cc07a464acdd6e4d8293 (patch)
tree11bb3fc3b8e4dd43ce8dcd7ac36c7aed6144be62
parent62d181de78077200d7b229ce6f91b2b14129d998 (diff)
Make rust-embed optionally included based on the embed_runtime feature.
-rw-r--r--helix-core/Cargo.toml4
1 files 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 }