mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-12-30 20:06:30 +01:00
# Description of Changes Changes the desktop app to allow connections to self-hosted servers on first startup. This was quite involved and hit loads of CORS issues all through the stack, but I think it's working now. This also changes the bundled backend to spawn on an OS-decided port rather than always spawning on `8080`, which means that the user can have other things running on port `8080` now and the app will still work fine. There were quite a few places that needed to be updated to decouple the app from explicitly using `8080` and I was originally going to split those changes out into another PR (#4939), but I couldn't get it working independently in the time I had, so the diff here is just going to be complex and contian two distinct changes - sorry 🙁
41 lines
1.0 KiB
TOML
41 lines
1.0 KiB
TOML
[package]
|
|
name = "stirling-pdf"
|
|
version = "0.1.0"
|
|
description = "Stirling-PDF Desktop Application"
|
|
authors = ["Stirling-PDF Contributors"]
|
|
license = ""
|
|
repository = ""
|
|
edition = "2021"
|
|
rust-version = "1.77.2"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lints.rust]
|
|
warnings = "deny"
|
|
|
|
[lib]
|
|
name = "app_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2.2.0", features = [] }
|
|
|
|
[dependencies]
|
|
serde_json = "1.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
log = "0.4"
|
|
tauri = { version = "2.9.0", features = [ "devtools"] }
|
|
tauri-plugin-log = "2.0.0-rc"
|
|
tauri-plugin-shell = "2.1.0"
|
|
tauri-plugin-fs = "2.4.4"
|
|
tauri-plugin-http = "2.4.4"
|
|
tauri-plugin-single-instance = "2.0.1"
|
|
tauri-plugin-store = "2.1.0"
|
|
keyring = "3.6.1"
|
|
tokio = { version = "1.0", features = ["time"] }
|
|
reqwest = { version = "0.11", features = ["json"] }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
core-foundation = "0.10"
|
|
core-services = "1.0"
|