Fixed running with console on Windows when compiled as GUI app.
This commit is contained in:
+5
-1
@@ -1,9 +1,10 @@
|
||||
[package]
|
||||
name = "alfis"
|
||||
version = "0.1.0"
|
||||
authors = ["Revertron <rev@revertron.com>"]
|
||||
authors = ["Revertron <alfis@revertron.com>"]
|
||||
edition = "2018"
|
||||
build = "build.rs"
|
||||
readme = "README.md"
|
||||
homepage = "https://alfis.name"
|
||||
repository = "https://github.com/Revertron/Alfis"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
@@ -30,6 +31,9 @@ mio = { version = "0.7", features = ["os-poll", "net"] }
|
||||
# for DNS from hermes
|
||||
derive_more = "0.99.9"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
winapi = { version = "0.3.7", features = ["impl-default", "wincon"]}
|
||||
|
||||
[build-dependencies]
|
||||
winres = "0.1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user