summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml56
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