Commit 88ee5eaa authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

add require features for bin

add feature for test
parent dda6a1c8
...@@ -19,6 +19,7 @@ path = "src/lib.rs" ...@@ -19,6 +19,7 @@ path = "src/lib.rs"
[[bin]] [[bin]]
name = "tenjin" name = "tenjin"
path = "src/main.rs" path = "src/main.rs"
required-features = ["cli"]
[dependencies] [dependencies]
byteorder = "1.0.0" byteorder = "1.0.0"
......
#![cfg(feature = "full")]
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
use tenjin::example::Controller10; use tenjin::example::Controller10;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment