- Remove locale detection and the Chinese Strings set - Label the new-tab page New Tab instead of Home - Use Untitled defaults for Finder-created files - Drop the sys-locale dependency
36 lines
1014 B
TOML
36 lines
1014 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(target_os = "macos")'.dependencies]
|
|
objc2 = "0.6.4"
|
|
objc2-app-kit = { version = "0.3.2", default-features = false, features = ["NSAlert", "NSApplication", "NSButton", "NSCell", "NSControl", "NSEvent", "NSImage", "NSMenu", "NSMenuItem", "NSResponder", "NSView"] }
|
|
objc2-foundation = { version = "0.3.2", default-features = false, features = ["objc2-core-foundation", "NSString"] }
|
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
winresource = "0.1"
|
|
|
|
[profile.release]
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|
|
panic = "abort"
|