mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
35 lines
902 B
TOML
35 lines
902 B
TOML
[package]
|
|
name = "fluxer_platform_info"
|
|
version = "0.0.0"
|
|
edition = "2024"
|
|
license = "AGPL-3.0-or-later"
|
|
publish = false
|
|
|
|
[workspace]
|
|
resolver = "2"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
fluxer_desktop_native = {path = "../rust"}
|
|
napi = {version = "3.12.6", default-features = false, features = ["dyn-symbols", "napi8"]}
|
|
napi-derive = "3.6.7"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
objc2 = {version = "0.6.4", features = ["exception"]}
|
|
objc2-foundation = {version = "0.3.2", default-features = false, features = ["NSArray", "NSObject", "NSString", "std"]}
|
|
objc2-metal = {version = "0.3.2", default-features = false, features = ["MTLDevice", "std"]}
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
windows = {version = "0.62.2", features = [
|
|
"Win32_Foundation",
|
|
"Win32_Graphics_Dxgi",
|
|
]}
|
|
|
|
[build-dependencies]
|
|
napi-build = "2.4.3"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.27"
|