44 lines
1.5 KiB
TOML
44 lines
1.5 KiB
TOML
[package]
|
|
name = "fformat"
|
|
version = "0.1.0"
|
|
description = "File format identifier."
|
|
authors = ["rzmk"]
|
|
license = ""
|
|
repository = ""
|
|
edition = "2021"
|
|
rust-version = "1.70"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
|
name = "app_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[target.'cfg(linux)'.build-dependencies]
|
|
tauri-build = { version = "2.0.0-beta.0", features = [] }
|
|
|
|
[target.'cfg(linux)'.dependencies]
|
|
tauri = { version = "2.0.0-beta.1", features = [] }
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2.0.0-beta.2", features = [] }
|
|
|
|
[dependencies]
|
|
serde_json = "1.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
tauri = { version = "2.0.0-beta.3", features = [] }
|
|
tauri-plugin-shell = { git = "https://github.com/tauri-apps/plugins-workspace.git", branch = "chore/tauri-beta-3" }
|
|
tauri-plugin-fs = { git = "https://github.com/tauri-apps/plugins-workspace.git", branch = "chore/tauri-beta-3" }
|
|
tauri-plugin-dialog = { git = "https://github.com/tauri-apps/plugins-workspace.git", branch = "chore/tauri-beta-3" }
|
|
|
|
[profile.release]
|
|
panic = "abort" # Strip expensive panic clean-up logic
|
|
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
|
|
lto = true # Enables link to optimizations
|
|
opt-level = "s" # Optimize for binary size
|
|
strip = true # Remove debug symbols
|
|
|
|
[features]
|
|
# this feature is used for production builds or when `devUrl` points to the filesystem
|
|
# DO NOT REMOVE!!
|
|
custom-protocol = []
|