# 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 = "2024"
rust-version = "1.92"
name = "sysd-manager"
version = "2.17.0"
authors = ["Pierre-Luc Rigaux <plrigaux@users.noreply.github.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "sysd-manager"
description = "Application to empower user to manage their <b>systemd units</b> via Graphical User Interface. Not only are you able to make changes to the enablement and running status of each of the units, but you will also be able to view and modify their unit files and check the journal logs."
readme = "README.md"
keywords = [
    "gtk4",
    "linux",
    "systemd",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/plrigaux/sysd-manager"

[features]
appimage = [
    "systemd/appimage",
    "base/appimage",
]
default = [
    "systemd/default",
    "base/default",
]
flatpak = [
    "systemd/flatpak",
    "base/flatpak",
]

[[bin]]
name = "sysd-manager"
path = "src/main.rs"

[dependencies.adw]
version = "0.9"
features = ["v1_8"]
package = "libadwaita"

[dependencies.base]
version = "2.14"
package = "sysd-manager-base"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.const_format]
version = "0.2.34"

[dependencies.constcat]
version = "0.6"

[dependencies.dotenv]
version = "0.15"

[dependencies.enumflags2]
version = "0.7"

[dependencies.flagset]
version = "0.4"

[dependencies.foreign-types-shared]
version = "0.3.1"

[dependencies.formatx]
version = "0.2"

[dependencies.futures-util]
version = "0.3"

[dependencies.gettext-rs]
version = "0.7.2"
features = ["gettext-system"]

[dependencies.gio]
version = "0"
features = ["v2_84"]
package = "gio"

[dependencies.glib]
version = "0"
features = ["v2_84"]
package = "glib"

[dependencies.gtk]
version = "0.11"
features = ["v4_20"]
package = "gtk4"

[dependencies.libc]
version = "0.2"

[dependencies.pango]
version = "0"
features = ["v1_56"]
package = "pango"

[dependencies.regex]
version = "1.12"

[dependencies.serde]
version = "1.0"

[dependencies.sourceview5]
version = "0.11"

[dependencies.strum]
version = "0.28"
features = ["derive"]

[dependencies.systemd]
version = "2.14"
package = "sysd-manager-comcontroler"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"

[dependencies.toml]
version = "1"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-journald]
version = "0.3"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "ansi",
    "fmt",
    "chrono",
    "env-filter",
]

[dependencies.zvariant]
version = "5"

[dev-dependencies.test-base]
version = "0.1"
package = "sysd-manager-test-base"

[build-dependencies.quick-xml]
version = "0.39"

[build-dependencies.translating]
version = "0.4.2"
package = "sysd-manager-translating"

[profile.release]
lto = true
