diff options
| author | dyknon dyknonr5fjp | 2025-02-24 21:13:53 +0900 |
|---|---|---|
| committer | dyknon dyknonr5fjp | 2025-02-24 21:13:53 +0900 |
| commit | 4d59425948efaa3345adb02730d084dc83d559d2 (patch) | |
| tree | 1c48fe8e0cea926fbf04198f0216e09818fb1e85 /Cargo.toml | |
| parent | 6ecbf0d55695335f52d6fcf2b6a22ed45f5e4d99 (diff) | |
32bit arch compat + binary w/o gui.
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -8,8 +8,15 @@ libc = "0.2" chrono = { version = "0.4", features = ["now"] } v4l2-sys = { version = "1", path = "v4l2-sys/" } anyhow = "1" -gtk4 = { version = "0.9", features = ["v4_12"] } -zune-jpeg = "0.4" +gtk4 = { version = "0.9", features = ["v4_12"], optional = true} +zune-jpeg = { version = "0.4", optional = true } + +[features] +gui = ["gtk4", "zune-jpeg"] +default = ["gui"] [[bin]] name = "sshcamera" +required-features = ["gui"] +[[bin]] +name = "usshcamera" |
