28 lines
1008 B
TOML
28 lines
1008 B
TOML
[package]
|
|
name = "mathew"
|
|
version = "0.1.0"
|
|
description = "Mathew — a wiki for mathematics, in a window of its own"
|
|
authors = ["Aran Roig"]
|
|
edition = "2021"
|
|
|
|
# The app is a library with a thin main: Tauri's own entry points want it that
|
|
# way, so the same `run()` also serves a mobile build should one ever be asked
|
|
# for (the window itself is desktop-shaped — see src/lib.rs).
|
|
[lib]
|
|
name = "mathew_desktop_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2", features = [] }
|
|
# A link inside the window hands its document to the system's browser rather
|
|
# than replacing the wiki in the only view there is. The wiki asks for this
|
|
# itself (app/utils/desktop.ts); this is the door it goes out by.
|
|
tauri-plugin-opener = "2"
|
|
|
|
# Only a desktop app can be launched twice onto one window.
|
|
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
|
|
tauri-plugin-single-instance = "2"
|