view Cargo.toml @ 15:d103f7cca0bd

Update to GTK 4.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 26 Aug 2021 19:34:40 +0200
parents adab13145994
children 3f7b7a3ad8fe
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