crates: code cleanup
This commit is contained in:
@@ -9,15 +9,23 @@ edition = "2018"
|
||||
default-run = "advotracker"
|
||||
build = "build.rs"
|
||||
|
||||
#[target.x86_64-pc-windows-gnu]
|
||||
#linker = "lld-link"
|
||||
|
||||
|
||||
#[target.x86_64-pc-windows-msvc]
|
||||
#linker = "lld-link"
|
||||
# linker path on msvc set via system environment
|
||||
#linker = "link.exe"
|
||||
##windres = { git = "https://github.com/FaultyRAM/windres-rs", branch = "master" }
|
||||
##diesel = { version = "1.4", features = [ "postgres", "sqlite" ] }
|
||||
##winapi = { version = "0.3", features = [ "winuser" ] }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
winapi = { version = "0.3", features = [ "winuser" ] }
|
||||
windres = { git = "https://github.com/FaultyRAM/windres-rs", branch = "master" }
|
||||
#diesel = { version = "1.4", features = [ "postgres", "sqlite" ] }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.build-dependencies]
|
||||
winres = { version = "0.1" }
|
||||
# for language constants
|
||||
winapi = { version = "0.3", features = [ "winnt" ] }
|
||||
|
||||
[dependencies]
|
||||
async-stream = "~0.2"
|
||||
chrono = { version = "~0.4.0", features = ["serde"] }
|
||||
@@ -33,10 +41,10 @@ log = { version = "~0.4.8" }
|
||||
locales = { version = "~0.1" }
|
||||
maud = { version = "~0.22.1" }
|
||||
#orbtk = { version = "~0.3.1-alpha4" }
|
||||
#orbtk = { git = "https://github.com/redox-os/orbtk.git", branch = "develop" }
|
||||
orbtk = { path = "../../../orbtk" }
|
||||
orbtk = { git = "https://github.com/redox-os/orbtk.git", branch = "develop" }
|
||||
#orbtk = { path = "../../../orbtk" }
|
||||
serde = { version = "~1.0", features = ["derive"] }
|
||||
sdl2 = { version = "~0.34" }
|
||||
sdl2 = { version = "~0.34", features = ["bundled"] }
|
||||
substring = { version = "~1" }
|
||||
#tokio = { version = "~0.2", features = ["macros", "rt-threaded", "stream", "time"] }
|
||||
tracing = { version = "~0.1" }
|
||||
@@ -44,7 +52,8 @@ tracing-subscriber = { version = "~0.2.0", features = ["tracing-log"] }
|
||||
viperus = { git = "https://github.com/maurocordioli/viperus", features = ["cache", "fmt-clap", "fmt-env", "global", "watch"] }
|
||||
|
||||
[build-dependencies]
|
||||
winres = { version = "0.1" }
|
||||
#winres = { version = "0.1" }
|
||||
winres = { version = "0.1.11" }
|
||||
|
||||
#[dev-dependencies]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user