Trimmed monorepo checkout (fluxer_desktop + packages/voice_engine_v2 + tools/ci) with a "Connect to a Different Server" menu item and popout that lets the desktop app switch to any self-hosted Fluxer instance, plus fixes for well-known discovery on single-domain self-hosted deployments and a false-positive ERR_ABORTED on same-origin client redirects during the switch. Defaults to chat.fluxr.chat and uses an isolated userData directory from the official build.
46 lines
1.8 KiB
TOML
46 lines
1.8 KiB
TOML
[package]
|
|
name = "fluxer_mac_screen_capture"
|
|
version = "0.0.0"
|
|
edition = "2024"
|
|
license = "AGPL-3.0-or-later"
|
|
publish = false
|
|
|
|
[workspace]
|
|
resolver = "2"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
napi = {version = "3.9.1", default-features = false, features = ["dyn-symbols", "napi8", "async"]}
|
|
napi-derive = "3.5.6"
|
|
fluxer_encoder_ring = {path = "../encoder-ring"}
|
|
parking_lot = "0.12"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies.fluxer_screen_frame_bus]
|
|
path = "../screen-frame-bus"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
libc = "0.2.186"
|
|
objc2 = "0.6"
|
|
objc2-foundation = {version = "0.3", features = ["NSString", "NSArray", "NSDictionary", "NSError", "NSValue", "NSBundle", "NSProcessInfo"]}
|
|
objc2-screen-capture-kit = {version = "0.3", features = ["SCStream", "SCShareableContent", "objc2-core-graphics", "objc2-core-media", "objc2-core-foundation", "block2", "dispatch2", "libc"]}
|
|
objc2-core-media = {version = "0.3", features = ["CMSampleBuffer", "CMBlockBuffer", "CMFormatDescription", "CMTime", "objc2-core-audio-types"]}
|
|
objc2-core-audio-types = {version = "0.3", features = ["CoreAudioBaseTypes", "objc2"]}
|
|
objc2-core-video = {version = "0.3", features = ["CVPixelBuffer", "CVPixelBufferIOSurface", "CVImageBuffer", "CVBuffer", "CVPixelFormatDescription", "CVReturn", "CVBase", "objc2-io-surface"]}
|
|
objc2-io-surface = {version = "0.3", features = ["IOSurfaceRef", "objc2-core-foundation"]}
|
|
objc2-core-foundation = {version = "0.3", features = ["CFArray", "CFDictionary", "CFNumber", "CFString", "CFBase"]}
|
|
objc2-core-graphics = {version = "0.3.2", default-features = false, features = ["std", "CGWindow"]}
|
|
block2 = "0.6"
|
|
dispatch2 = "0.3"
|
|
|
|
[build-dependencies]
|
|
napi-build = "2.3.2"
|
|
|
|
[dev-dependencies]
|
|
criterion = {version = "0.8", default-features = false, features = ["cargo_bench_support"]}
|
|
|
|
[[bench]]
|
|
name = "audio_pool"
|
|
harness = false
|