From 7553d307b7095bb4828cfd7d16a4914805d18d88 Mon Sep 17 00:00:00 2001 From: Johann Hofmann Date: Mon, 16 Jan 2017 22:00:31 +0100 Subject: [PATCH] Add an option to statically link libonig --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index b8fcde35..e6e3bce4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,5 +25,8 @@ bincode = "0.6" flate2 = "0.2" fnv = "1.0.2" +[features] +static-onig = ["onig/static-libonig"] + # [profile.release] # debug = true