mirror of
https://github.com/delibae/claude-prism.git
synced 2026-08-28 05:14:59 +00:00
- Use external-harfbuzz globally (vendored harfbuzz build.rs has a header copy bug on Windows) - Install harfbuzz[graphite2] via vcpkg on Windows instead of standalone graphite2 - Clear CXXFLAGS/CFLAGS on Windows to prevent macOS-specific .cargo/config.toml values from leaking Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
47 lines
1.5 KiB
TOML
47 lines
1.5 KiB
TOML
[package]
|
|
name = "claude-prism-desktop"
|
|
version = "0.0.1"
|
|
description = "AI-powered LaTeX writing workspace"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "claude_prism_desktop_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2", features = [] }
|
|
tauri-plugin-dialog = "2"
|
|
tauri-plugin-fs = "2"
|
|
tauri-plugin-shell = "2"
|
|
tauri-plugin-process = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
serde_yaml = "0.9"
|
|
tokio = { version = "1", features = ["full"] }
|
|
dirs = "5"
|
|
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls"] }
|
|
hmac = "0.12"
|
|
sha1 = "0.10"
|
|
base64 = "0.22"
|
|
dotenvy = "0.15"
|
|
git2 = { version = "0.20", default-features = false }
|
|
chrono = "0.4"
|
|
uuid = { version = "1", features = ["v4"] }
|
|
which = "7"
|
|
tectonic = { version = "0.15", default-features = true, features = ["external-harfbuzz"] }
|
|
# NOTE: Building tectonic requires external harfbuzz/graphite2/icu/freetype:
|
|
# macOS: brew install icu4c harfbuzz pkg-config
|
|
# Linux: apt install libicu-dev libgraphite2-dev libharfbuzz-dev libfreetype-dev libfontconfig-dev
|
|
# Windows: vcpkg install harfbuzz[graphite2] freetype icu fontconfig (with TECTONIC_DEP_BACKEND=vcpkg)
|
|
flate2 = "1"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
objc2 = "0.6"
|
|
objc2-app-kit = { version = "0.3", features = ["NSApplication", "NSImage", "NSRunningApplication"] }
|
|
objc2-foundation = { version = "0.3", features = ["NSData"] }
|