From d12f9f563968ea8471b4929936ac4f8553810428 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Thu, 1 Apr 2021 23:10:10 -0600 Subject: put extensions behind a feature --- Cargo.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 41f2334..c76af6b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,10 +10,14 @@ license-file = "LICENSE.md" keywords = ["build", "make"] categories = ["development-tools"] +[features] +default = ['full'] +full = ['dirs', 'glob'] + [dependencies] -dirs = "3.0.1" +dirs = { version = "3.0.1", optional = true } eyre = "0.6.5" -glob = "0.3.0" +glob = { version = "0.3.0", optional = true } jane-eyre = "0.3.0" lazy_static = "1.4.0" nom = "6.1.2" -- cgit v1.2.3