on master help sign in
Make rust-embed optionally included based on the embed_runtime feature.
commit255598a2cb871ffc6cb3cc07a464acdd6e4d8293 authorBrian Dawn <brian.t.dawn@gmail.com> dateSat 5 Jun 2021, 08:05 (5 years ago) parent62d181d
1 file changed+2−2
helix-core/Cargo.toml+2−2
helix-core/Cargo.toml+2−2
@@ -9,7 +9,7 @@ license = "MPL-2.0"
99
1010
1111[features]
12−embed_runtime = []
12+embed_runtime = ["rust-embed"]
1313
1414[dependencies]
1515helix-syntax = { path = "../helix-syntax" }
@@ -28,4 +28,4 @@ serde = { version = "1.0", features = ["derive"] }
2828toml = "0.5"
2929
3030etcetera = "0.3"
31−rust-embed="5.9.0"
31+rust-embed = { version = "5.9.0", optional = true }