Mercurial > tablet-emu
diff Cargo.toml @ 14:adab13145994
Add support for remote clients.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 02 Nov 2020 00:06:09 +0100 |
parents | dd10331549c6 |
children | d103f7cca0bd |
line wrap: on
line diff
--- a/Cargo.toml +++ b/Cargo.toml @@ -8,13 +8,19 @@ description = "Tablet emulator, for people who don’t own one" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[features] +default = ["gui"] + +gui = ["cairo-rs", "gdk", "gio", "glib", "gtk"] + [dependencies] -cairo-rs = "0.9.1" -gdk = "0.13.2" -gio = "0.9.1" -glib = "0.10.2" -gtk = "0.9.2" input-linux = "0.3.0" +bitflags = "1.2.1" +cairo-rs = { version = "0.9.1", optional = true } +gdk = { version = "0.13.2", optional = true } +gio = { version = "0.9.1", optional = true } +glib = { version = "0.10.2", optional = true } +gtk = { version = "0.9.2", optional = true } [profile.release] lto = true