diff options
| author | Dawid Rycerz <dawid@rycerz.xyz> | 2026-02-08 12:44:10 +0100 |
|---|---|---|
| committer | Dawid Rycerz <dawid@rycerz.xyz> | 2026-02-08 12:44:10 +0100 |
| commit | 0c20fb86633104744dbccf30ad732296694fff1b (patch) | |
| tree | 02ffb8494086960b4a84decf3bdc2c8c61bfc4f6 /Cargo.toml | |
Initial pipewiremain
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..2641f11 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,56 @@ +[package] +name = "geek-szitman-supercamera" +version = "0.1.0" +edition = "2021" +authors = ["hbens", "Contributors"] +description = "Rust implementation of Geek szitman supercamera endoscope viewer" +license = "CC0-1.0" +repository = "https://github.com/hbens/geek-szitman-supercamera" +keywords = ["camera", "endoscope", "usb", "pipewire", "v4l2"] +categories = ["multimedia", "hardware-support"] + +[dependencies] +# Core dependencies +anyhow = "1.0" +thiserror = "2.0" +tracing = "0.1" +tracing-subscriber = { version = "0.3", features = ["env-filter"] } + +# USB communication +rusb = "0.9" + +# Video/audio handling +pipewire = "0.8" +pipewire-sys = "0.8" + +# Image processing +image = "0.25" +jpeg-decoder = "0.3" + +# System integration +ctrlc = "3.4" +signal-hook = "0.3" +nix = "0.30" + +# Serialization and utilities +serde = { version = "1.0", features = ["derive"] } +serde_json = "1.0" +clap = { version = "4.0", features = ["derive"] } + +[dev-dependencies] +mockall = "0.13" +criterion = "0.7" + +[[bench]] +name = "jpeg_parsing" +harness = false + +[profile.release] +opt-level = 3 +lto = true +codegen-units = 1 +panic = "abort" + +[profile.dev] +opt-level = 0 +debug = true |
