From d3583f4c5dddb302223462d6592bd7ab635c825d Mon Sep 17 00:00:00 2001 From: Erik Kundt Date: Wed, 29 May 2024 16:55:22 +0200 Subject: [PATCH] lib: Introduce "bin" feature --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 90f6dec5..b27e6d62 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,9 +9,14 @@ authors = ["Erik Kundt "] edition = "2021" build = "build.rs" +[features] +default = ["bin"] +bin = [] + [[bin]] name = "rad-tui" path = "bin/main.rs" +required-features = ["bin"] [dependencies] anyhow = { version = "1" }