[package]
edition = "2024"
rust-version = "1.96"
name = "openlogi-camera"
version = "0.7.1"
authors = ["AprilNEA <dev@aprilnea.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generic Logitech UVC webcam discovery for OpenLogi (AVFoundation on macOS, DirectShow on Windows, V4L2 on Linux)."
readme = false
keywords = [
"logitech",
"uvc",
"webcam",
"camera",
"v4l2",
]
categories = ["hardware-support"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/AprilNEA/OpenLogi"
[lib]
name = "openlogi_camera"
path = "src/lib.rs"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.tracing]
version = "0.1"
[target.'cfg(target_os = "linux")'.dependencies.v4l]
version = "0.14"
[target.'cfg(target_os = "linux")'.dependencies.zune-core]
version = "0.5"
[target.'cfg(target_os = "linux")'.dependencies.zune-jpeg]
version = "0.5"
[target.'cfg(target_os = "macos")'.dependencies.block2]
version = "0.6"
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.4"
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3.2"
features = [
"std",
"CFDictionary",
"CFNumber",
"CFString",
"CFUUID",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-io-kit]
version = "0.3.2"
features = [
"std",
"libc",
"usb",
"AppleUSBDefinitions",
"IOUSBLib",
"USB",
]
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.61"
features = [
"Win32_Foundation",
"Win32_Media_DirectShow",
"Win32_Media_MediaFoundation",
"Win32_System_Com",
"Win32_System_Com_StructuredStorage",
"Win32_System_Variant",
"Win32_System_Ole",
]
[lints.clippy]
assertions_on_result_states = "warn"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_sign_loss = "warn"
doc_markdown = "allow"
error_impl_error = "warn"
exit = "warn"
expect_used = "warn"
missing_errors_doc = "allow"
or_fun_call = "warn"
ptr_as_ptr = "warn"
tests_outside_test_module = "warn"
undocumented_unsafe_blocks = "warn"
unwrap_used = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"