example/calc: add required features to manifest
This commit is contained in:
parent
332b14bcd9
commit
04b777e214
1 changed files with 6 additions and 3 deletions
|
@ -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"]
|
||||
|
||||
|
|
Reference in a new issue