From 62d181de78077200d7b229ce6f91b2b14129d998 Mon Sep 17 00:00:00 2001 From: Brian Dawn Date: Thu, 3 Jun 2021 15:46:56 -0500 Subject: Provide a feature flag to be able to embed the runtime folder. These changes provide a new feature flag "embed_runtime" that when enabled and built in release mode will embed the runtime folder into the resulting binary. --- helix-core/Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'helix-core/Cargo.toml') diff --git a/helix-core/Cargo.toml b/helix-core/Cargo.toml index b5f2ef77..35f30ede 100644 --- a/helix-core/Cargo.toml +++ b/helix-core/Cargo.toml @@ -7,6 +7,10 @@ license = "MPL-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[features] +embed_runtime = [] + [dependencies] helix-syntax = { path = "../helix-syntax" } @@ -24,3 +28,4 @@ serde = { version = "1.0", features = ["derive"] } toml = "0.5" etcetera = "0.3" +rust-embed="5.9.0" -- cgit v1.2.3-70-g09d2