Mercurial > tablet-emu
view Cargo.toml @ 20:f81d56c5da76 default tip
Use features to condition building binaries.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 26 Aug 2021 23:49:52 +0200 |
parents | ba09079686a0 |
children |
line wrap: on
line source
[package] name = "tablet-emu" version = "0.1.0" authors = ["Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>"] edition = "2018" license = "AGPL-3.0-or-later" 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", "network"] gui = ["cairo-rs", "gdk", "gio", "glib", "gtk"] network = [] [dependencies] input-linux = "0.3.0" bitflags = "1.2.1" serde = { version = "1.0", features = ["derive"] } bincode = "1.3" cairo-rs = { version = "0.14", optional = true } gdk = { version = "0.14", optional = true } gio = { version = "0.14", optional = true } glib = { version = "0.14", optional = true } gtk = { package = "gtk4", version = "0.2", optional = true } [profile.release] lto = true [[bin]] name = "tablet-emu" path = "src/bin/standalone.rs" required-features = ["gui"] [[bin]] name = "tablet-emud" path = "src/bin/server.rs" required-features = ["network"] [[bin]] name = "tablet-emu-remote" path = "src/bin/client.rs" required-features = ["gui", "network"]