build: add cargo manifest and MIT license

Rust 2021, MSRV 1.85. flatbuffers is pinned to an exact version because the
generated bindings must match the flatc that produced them.
This commit is contained in:
2026-09-12 10:08:29 +03:00
parent 722d99675e
commit 623fab55e5
3 changed files with 865 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
[package]
name = "gamescope-hyperhdr"
version = "0.1.0"
edition = "2021"
rust-version = "1.85"
license = "MIT"
description = "Capture gamescope's PipeWire stream (downscaled by gamescope) and feed it to HyperHDR's flatbuffers server"
[dependencies]
anyhow = "1"
clap = { version = "4.6", features = ["derive", "env"] }
flatbuffers = "=25.12.19"
libspa = "0.10.1"
pipewire = "0.10.1"
thiserror = "2"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter"] }
[dev-dependencies]
libc = "0.2"
[profile.release]
lto = "thin"
codegen-units = 1