[package]
edition = "2021"
name = "device-info"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform device information"
readme = false
license = "Apache-2.0"
repository = "https://github.com/livekit/rust-sdks"
[lib]
name = "device_info"
path = "src/lib.rs"
[dependencies.thiserror]
version = "2"
[target.'cfg(any(target_os = "macos", target_os = "ios", target_os = "tvos", target_os = "visionos", target_os = "watchos", target_os = "linux"))'.dependencies.libc]
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
"Navigator",
"Window",
]
[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21"
[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10"
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.59"
features = [
"Win32_System_Registry",
"Win32_System_SystemInformation",
"Win32_System_Power",
]