From 7c6dffc2c6249494166cb624d45f0b598c209a89 Mon Sep 17 00:00:00 2001 From: alice Date: Sat, 6 Apr 2024 08:55:12 +0200 Subject: [PATCH] cargo: allow building with system lua (#703) useful for distros --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 62f1d6f..c412af3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -73,7 +73,7 @@ features = ['serde'] [dependencies.mlua] version = "0.9.6" -features = ['luajit', 'vendored', 'serialize', 'send'] +features = ['luajit', 'serialize', 'send'] [dependencies.tui-input] version = "0.8.0" @@ -90,5 +90,7 @@ panic = 'abort' strip = true [features] +default = ["vendored-lua"] +vendored-lua = ["mlua/vendored"]