Make gtk dependencies optional
This commit is contained in:
parent
f330760c1c
commit
a1f813631b
|
|
@ -338,7 +338,7 @@ checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0"
|
|||
[[package]]
|
||||
name = "druid"
|
||||
version = "0.7.0"
|
||||
source = "git+https://github.com/doppioandante/druid?branch=v0.7.0_stiletto#f0a6fd3f6bece1b1d10e261ce57673d7f6f1969a"
|
||||
source = "git+https://github.com/doppioandante/druid?branch=v0.7.0_stiletto#2cbb14456fb1813e673d2151626630d2c4db68bf"
|
||||
dependencies = [
|
||||
"console_log",
|
||||
"druid-derive",
|
||||
|
|
@ -361,7 +361,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "druid-derive"
|
||||
version = "0.4.0"
|
||||
source = "git+https://github.com/doppioandante/druid?branch=v0.7.0_stiletto#f0a6fd3f6bece1b1d10e261ce57673d7f6f1969a"
|
||||
source = "git+https://github.com/doppioandante/druid?branch=v0.7.0_stiletto#2cbb14456fb1813e673d2151626630d2c4db68bf"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
|
@ -371,7 +371,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "druid-shell"
|
||||
version = "0.7.0"
|
||||
source = "git+https://github.com/doppioandante/druid?branch=v0.7.0_stiletto#f0a6fd3f6bece1b1d10e261ce57673d7f6f1969a"
|
||||
source = "git+https://github.com/doppioandante/druid?branch=v0.7.0_stiletto#2cbb14456fb1813e673d2151626630d2c4db68bf"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"bitflags",
|
||||
|
|
|
|||
|
|
@ -16,14 +16,14 @@ serde_json = "1.0"
|
|||
druid = { git = "https://github.com/doppioandante/druid", branch = "v0.7.0_stiletto", features = ["im", "svg"] }
|
||||
#druid = { path = "../druid/druid/", features = ["im", "svg"] }
|
||||
|
||||
[dependencies.gtk]
|
||||
[target.'cfg(target_os="linux")'.dependencies.gtk]
|
||||
version = "0.9.2"
|
||||
features = ["v3_22"]
|
||||
|
||||
[dependencies.gio]
|
||||
[target.'cfg(target_os="linux")'.dependencies.gio]
|
||||
version = "0.9.1"
|
||||
features = ["v2_56"]
|
||||
|
||||
[dependencies.gdk]
|
||||
[target.'cfg(target_os="linux")'.dependencies.gdk]
|
||||
version = "0.13.2"
|
||||
features = ["v3_22"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue