File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,11 @@ license = "MIT OR Apache-2.0"
13
13
keywords = [" twitch" ]
14
14
categories = [" games" ]
15
15
16
+ [features ]
17
+ default = []
18
+ cli = []
19
+ scripting = [" chat/scripting" ]
20
+
16
21
[dependencies ]
17
22
web = { workspace = true }
18
23
settings = { workspace = true }
@@ -58,8 +63,3 @@ anyhow = { workspace = true }
58
63
59
64
[target .'cfg(target_os = "windows")' .dependencies ]
60
65
winapi = { version = " 0.3.9" , features = [" shellapi" , " impl-default" ] }
61
-
62
- [features ]
63
- default = []
64
- windows = []
65
- scripting = [" chat/scripting" ]
Original file line number Diff line number Diff line change 1
- #![ cfg_attr( feature = "windows" , windows_subsystem = "windows" ) ]
1
+ #![ cfg_attr( all ( windows , not ( feature = "cli" ) ) , windows_subsystem = "windows" ) ]
2
2
3
3
pub ( crate ) fn main ( ) -> anyhow:: Result < ( ) > {
4
4
oxidize:: cli:: main ( )
You can’t perform that action at this time.
0 commit comments