# file: poc-qt/Cargo.toml

[workspace]
members = [
    "poc001",
    "poc002",
    "poc003",
    "poc004",
    "poc005",
    "poc006",
]
resolver = "3"

[workspace.package]
version = "0.6.0"
edition = "2024"
license = "MIT"
repository = "https://git.sasedev.com/Sasedev/poc-qt"
authors = ["SinuS von SifriduS <sinus@sasedev.net>"]

[workspace.dependencies]
cxx = { version = "^1", features = ["c++14", "c++17", "c++20"] }
cxx-qt = { version = "^0.8", features = [] }
cxx-qt-build = { version = "^0.8", features = ["link_qt_object_files"] }
cxx-qt-lib = { version = "^0.8", features = ["full", "link_qt_object_files"] }
glib = { version = "^0.22", features = [] }
gstreamer = { version = "^0.25", features = ["serde"] }
gstreamer-app = { version = "^0.25", features = [] }
gstreamer-video = { version = "^0.25", features = ["serde"] }
jsonschema = { version = "^0.40", features = [] }
pkg-config = { version = "^0.3", features = [] }
serde = { version = "^1.0", features = ["derive"] }
serde_json = { version = "^1.0", features = [] }
tokio = { version = "^1.50", features = ["full"] }
tokio-tungstenite = { version = "^0.29", features = ["rustls", "tokio-rustls", "url"] }
tracing = { version = "^0.1", features = ["async-await", "log"] }
tracing-subscriber = { version = "^0.3", features = ["ansi", "env-filter", "chrono", "serde", "json"] }
webrtc = { version = "^0.17", features = [] }

[profile.dev]
incremental = true # Compile your binary in smaller steps.

[profile.release]
codegen-units = 1 # Allows LLVM to perform better optimization.
lto = true # Enables link-time-optimizations.
opt-level = 3 # s Prioritizes small binary size. Use `3` if you prefer speed.
panic = "abort" # Higher performance by disabling panic handlers.
strip = true # Ensures debug symbols are removed.

