From 04b777e214e148efb32276cb1ec948081527f663 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Fri, 22 Jul 2022 18:41:41 +0300 Subject: [PATCH] example/calc: add required features to manifest --- Cargo.toml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e7ac56f..fdd4e78 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,13 +21,12 @@ readme = "../README.md" [features] default = [] - -macro = ["enve_mod"] - number = [] bool = [] vec = [] +macro = ["enve_mod"] + [dependencies] enve_mod = { version = "1.1", path = "./enve_mod", optional = true } @@ -42,3 +41,7 @@ maintenance = { status = "actively-developed" } [package.metadata.docs.rs] all-features = true +[[example]] +name = "calc" +required-features = ["number", "vec"] +