# 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 = "ocula"
version = "0.1.9"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A resilient Rust screen recorder built on xdg-desktop-portal and GStreamer."
homepage = "https://github.com/Tknott95/KnottScreenRecorder"
documentation = "https://docs.rs/ocula"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Tknott95/KnottScreenRecorder"

[lib]
name = "ocula"
path = "src/lib.rs"

[[bin]]
name = "ocula"
path = "src/main.rs"

[[bin]]
name = "oculo"
path = "src/bin/oculo.rs"

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

[dependencies.anyhow]
version = "1.0"

[dependencies.bitflags]
version = "2.6"

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

[dependencies.ctrlc]
version = "3.4"
features = ["termination"]

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

[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false

[dependencies.gio]
version = "0.22"

[dependencies.glib]
version = "0.22"

[dependencies.gst]
version = "0.25"
features = ["v1_22"]
package = "gstreamer"

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

[dependencies.libc]
version = "0.2"

[dependencies.x11rb]
version = "0.13"
features = [
    "randr",
    "shape",
]

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