File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ failure = "0.1"
25
25
[build-dependencies .intel-mkl-tool ]
26
26
version = " 0.1.0"
27
27
path = " ../intel-mkl-tool"
28
+ default-features = false
28
29
29
30
[dev-dependencies ]
30
31
libc = " 0.2.65"
Original file line number Diff line number Diff line change @@ -4,15 +4,24 @@ version = "0.1.0"
4
4
authors = [
" Toshiki Teramura <[email protected] >" ]
5
5
edition = " 2018"
6
6
7
+ [features ]
8
+ default = [" cli" ]
9
+ cli = [" structopt" , " env_logger" ]
10
+
7
11
[dependencies ]
8
12
curl = " 0.4.25"
9
13
failure = " 0.1.6"
10
14
pkg-config = " 0.3.17"
11
15
tar = " 0.4.26"
12
16
xz2 = " 0.1.6"
13
17
log = " 0.4.8"
18
+ dirs = " *"
14
19
15
20
# CLI
16
- structopt = " 0.3.4"
17
- env_logger = " 0.7.1"
18
- dirs = " *"
21
+ structopt = { version = " 0.3.4" , optional = true }
22
+ env_logger = { version = " 0.7.1" , optional = true }
23
+
24
+ [[bin ]]
25
+ name = " intel-mkl-tool"
26
+ path = " src/cli.rs"
27
+ required-features = [" cli" ]
File renamed without changes.
You can’t perform that action at this time.
0 commit comments