49 lines
1.2 KiB
TOML
49 lines
1.2 KiB
TOML
[package]
|
|
name = "bytesize"
|
|
version = "0.1.0"
|
|
description = "Portable Windows screen-to-clip recorder"
|
|
authors = ["lashman <lashman@robotbrush.com>"]
|
|
edition = "2021"
|
|
rust-version = "1.94"
|
|
|
|
[lib]
|
|
name = "bytesize_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2.11", features = ["protocol-asset"] }
|
|
tauri-plugin-dialog = "2"
|
|
tauri-plugin-global-shortcut = "2"
|
|
windows-capture = "2.0"
|
|
windows = { version = "0.62", features = ["Win32_UI_WindowsAndMessaging", "Win32_Foundation"] }
|
|
cpal = "0.16"
|
|
tokio = { version = "1.47", features = ["full"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
toml = "0.9"
|
|
anyhow = "1.0"
|
|
thiserror = "2.0"
|
|
reqwest = { version = "0.13", default-features = false, features = ["native-tls", "stream"] }
|
|
futures-util = "0.3"
|
|
image = "0.25"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["fmt"] }
|
|
sha2 = "0.10"
|
|
hex = "0.4"
|
|
sevenz-rust2 = "0.21"
|
|
zip = { version = "2", default-features = false, features = ["deflate"] }
|
|
|
|
[features]
|
|
default = ["custom-protocol"]
|
|
custom-protocol = ["tauri/custom-protocol"]
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
codegen-units = 1
|
|
lto = true
|
|
opt-level = "s"
|
|
strip = true
|