view Cargo.toml @ 18:3f7b7a3ad8fe

Build three binaries instead of using arguments.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 26 Aug 2021 22:15:55 +0200
parents d103f7cca0bd
children ba09079686a0
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"]

gui = ["cairo-rs", "gdk", "gio", "glib", "gtk"]

[dependencies]
input-linux = "0.3.0"
bitflags = "1.2.1"
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"

[[bin]]
name = "tablet-emud"
path = "src/bin/server.rs"

[[bin]]
name = "tablet-emu-remote"
path = "src/bin/client.rs"