From e503baf2e753a1cc8c287f10fb1460635d093168 Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Thu, 27 Oct 2016 08:43:23 -0700 Subject: Live shader reloading is now a feature Which means it can be disabled in release builds. No more working on a renderer feature and actually breaking the Alacritty your editor is running inside. --- Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index f87a0cbe..d3132ddc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,6 @@ name = "alacritty" version = "0.1.0" authors = ["Joe Wilm "] license = "Apache-2.0" -exclude = ["res/*"] build = "build.rs" [dependencies] @@ -21,6 +20,11 @@ vte = "0.1.2" mio = "0.6" copypasta = { path = "./copypasta" } +[features] +default = [] +# Enabling this feature makes shaders automatically reload when changed +live-shader-reload = [] + [build-dependencies] gl_generator = "0.5" -- cgit v1.2.3-54-g00ecf