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]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|
||||||
macro = ["enve_mod"]
|
|
||||||
|
|
||||||
number = []
|
number = []
|
||||||
bool = []
|
bool = []
|
||||||
vec = []
|
vec = []
|
||||||
|
|
||||||
|
macro = ["enve_mod"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
enve_mod = { version = "1.1", path = "./enve_mod", optional = true }
|
enve_mod = { version = "1.1", path = "./enve_mod", optional = true }
|
||||||
|
|
||||||
|
@ -42,3 +41,7 @@ maintenance = { status = "actively-developed" }
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
all-features = true
|
all-features = true
|
||||||
|
|
||||||
|
[[example]]
|
||||||
|
name = "calc"
|
||||||
|
required-features = ["number", "vec"]
|
||||||
|
|
||||||
|
|
Reference in a new issue