- delete the macOS/Linux/Finder-extension code, the non-Windows branches and the objc2 dependencies; three platform-only tests went with them (62 -> 59). - src/config.rs: config dir, zoom, window geometry and the blocking dialogs. - move the test module to the end of main.rs (clippy items_after_test_module). - main.rs 3709 -> 2822 lines. No behavior change on Windows.
31 lines
620 B
TOML
31 lines
620 B
TOML
[package]
|
|
name = "md-preview"
|
|
version = "1.4.2"
|
|
edition = "2021"
|
|
rust-version = "1.89"
|
|
|
|
[dependencies]
|
|
wry = "0.50"
|
|
tao = "0.33"
|
|
pulldown-cmark = { version = "0.12", default-features = false, features = ["html"] }
|
|
rfd = "0.15"
|
|
notify = "7"
|
|
open = "5"
|
|
image = { version = "0.25", default-features = false, features = ["png", "ico"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
url = "2"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winreg = "0.52"
|
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
winresource = "0.1"
|
|
|
|
[profile.release]
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|
|
panic = "abort"
|