# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "grx"
version = "0.1.2"
authors = ["Florian Loers"]
description = "Abstraction layer for UI development"
readme = "README.md"
keywords = [
    "GTK",
    "UI",
    "flatpak",
]
categories = ["gui"]
license = "GPL-3.0-or-later"
repository = "https://gitlab.com/floers/grx"

[dependencies.async-trait]
version = "0.1.68"

[dependencies.grx_macros]
version = "0.1"

[dependencies.gstore]
version = "0.10"
optional = true

[dependencies.gtk]
version = "0.6"
optional = true
package = "gtk4"

[dependencies.libadwaita]
version = "0.3"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.serde_json]
version = "1.0.94"

[features]
default = [
    "gtk",
    "gstore",
]
gtk = [
    "dep:gtk",
    "dep:libadwaita",
]
