cathode/src-tauri/Cargo.toml

63 lines
2.3 KiB
TOML

[package]
name = "cathode"
version = "0.2.0" # managed by release.sh
description = "A small PNGTubing app"
authors = ["AnActualEmerald"]
license = "GPL-3.0-or-later"
repository = "https://github.com/AnActualEmerald/cathode"
edition = "2021"
[package.metadata.generate-rpm]
assets = [
{source= "target/release/cathode", dest= "/usr/bin/cathode", mode= "755"},
{source="cathode-tube.desktop", dest="/usr/share/applications/cathode.desktop", mode="0644"},
{source="application-cathode.xml", dest="/usr/share/mime/packages/application-cathode.xml", mode="0644"},
{source="icons/128x128.png", dest="/usr/share/icons/hicolor/128x128/apps/cathode.png", mode="0644"},
{source="icons/128x128@2x.png", dest="/usr/share/icons/hicolor/256x256/apps/cathode.png", mode="0644"},
{source="icons/application-cathode-128.png", dest="/usr/share/icons/hicolor/128x128/mimetypes/application-cathode.png", mode="0644"},
{source="icons/application-cathode-256.png", dest="/usr/share/icons/hicolor/256x256/mimetypes/application-cathode.png", mode="0644"},
]
auto-req = "no"
[package.metadata.generate-rpm.requires]
filesystem = ">= 3"
gtk3 = ">= 3"
webkit2gtk3 = ">= 2"
[workspace]
[profile.release]
strip = true
opt-level = "s"
lto = true
codegen-units = 1
[build-dependencies]
tauri-build = { version = "1", features = [] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1", features = ["cli", "dialog-all", "fs-create-dir", "fs-read-dir", "fs-read-file", "fs-write-file", "macos-private-api", "protocol-asset", "window-center", "window-minimize", "window-set-max-size", "window-set-min-size", "window-unminimize"] }
cpal = { version = "0.14.1", features = ["jack"] }
ray_format = {path = "../ray_format", version = "~0.1.0"}
anyhow = "1.0.66"
log = "0.4.17"
env_logger = "0.9.3"
rand = "0.8.5"
tokio = { version = "1.21.2", features = ["full"] }
image = "0.24.4"
toml = "0.5.9"
notify = "5.0.0"
figment = { version = "0.10.11", features = ["toml", "env"] }
base64 = "0.21.4"
[features]
# by default Tauri runs in production mode
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL
default = [ "custom-protocol" ]
# this feature is used used for production builds where `devPath` points to the filesystem
# DO NOT remove this
custom-protocol = [ "tauri/custom-protocol" ]