[package] name = "lightningbeam" version = "0.1.0" description = "A Tauri App" authors = ["you"] edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] # The `_lib` suffix may seem redundant but it is necessary # to make the lib name unique and wouldn't conflict with the bin name. # This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519 name = "lightningbeam_lib" crate-type = ["staticlib", "cdylib", "rlib"] [build-dependencies] tauri-build = { version = "2", features = [] } [dependencies] tauri = { version = "2", features = ["protocol-asset"] } tauri-plugin-shell = "2" serde = { version = "1", features = ["derive"] } serde_json = "1" tauri-plugin-fs = "2" tauri-plugin-dialog = "2" log = "0.4" env_logger = "0.11" # DAW backend integration daw-backend = { path = "../daw-backend" } cpal = "0.15" rtrb = "0.3" tokio = { version = "1", features = ["sync", "time"] } # Video decoding lru = "0.12" # WebSocket for frame streaming (disable default features to remove tracing, but keep handshake) tungstenite = { version = "0.20", default-features = false, features = ["handshake"] } # Native rendering with wgpu wgpu = "0.19" winit = "0.29" pollster = "0.3" bytemuck = { version = "1.14", features = ["derive"] } raw-window-handle = "0.6" image = "0.24" [target.'cfg(target_os = "macos")'.dependencies] ffmpeg-next = { version = "8.0", features = ["build"] } [target.'cfg(not(target_os = "macos"))'.dependencies] ffmpeg-next = "8.0" [profile.dev] opt-level = 1 # Enable basic optimizations in debug mode for audio decoding performance [profile.release] opt-level = 3 lto = true