[package]
name = "ocula"
version = "0.1.9"
edition = "2024"
rust-version = "1.92"
description = "A resilient Rust screen recorder built on xdg-desktop-portal and GStreamer."
license = "MIT"
readme = "README.md"
repository = "https://github.com/Tknott95/KnottScreenRecorder"
homepage = "https://github.com/Tknott95/KnottScreenRecorder"
documentation = "https://docs.rs/ocula"

[dependencies]
anyhow = "1.0"
adw = { package = "libadwaita", version = "0.9", features = ["v1_9"] }
bitflags = "2.6"
clap = { version = "4.5", features = ["derive"] }
ctrlc = { version = "3.4", features = ["termination"] }
futures-channel = "0.3"
futures-util = { version = "0.3", default-features = false, features = ["std"] }
gio = "0.22"
glib = "0.22"
gst = { package = "gstreamer", version = "0.25", features = ["v1_22"] }
gtk = { package = "gtk4", version = "0.11", features = ["gnome_50"] }
libc = "0.2"
x11rb = { version = "0.13", features = ["randr", "shape"] }

[profile.release]
lto = true
codegen-units = 1
