[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" tauri-plugin-log = "2" tracing = "0.1.41" # enable env-filter feature tracing-subscriber = {version = "0.3.19", features = ["env-filter"] } log = "0.4" chrono = "0.4" # 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" image = { version = "0.24", default-features = false, features = ["jpeg"] } # HTTP server for video streaming tiny_http = "0.12" [target.'cfg(target_os = "macos")'.dependencies] ffmpeg-next = { version = "7.0", features = ["build"] } [target.'cfg(not(target_os = "macos"))'.dependencies] ffmpeg-next = "7.0" [profile.dev] opt-level = 1 # Enable basic optimizations in debug mode for audio decoding performance [profile.release] opt-level = 3 lto = true