summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 2641f1136118ba601201ffd5a394b538bea4cd47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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