The API changed a bit here, which forces us to use the unstable crate feature. The call to open devtools is also new; it's now on the webview not window. Signed-off-by: Paul R. Tagliamonte <paul@kittycad.io>
37 lines
1.2 KiB
TOML
37 lines
1.2 KiB
TOML
[package]
|
|
name = "app"
|
|
version = "0.1.0"
|
|
description = "A Tauri App"
|
|
authors = ["you"]
|
|
license = ""
|
|
repository = "https://github.com/KittyCAD/modeling-app"
|
|
default-run = "app"
|
|
edition = "2021"
|
|
rust-version = "1.70"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2.0.0-beta", features = [] }
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
kittycad = "0.2.50"
|
|
oauth2 = "4.4.2"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
tauri = { version = "2.0.0-beta", features = [ "devtools", "unstable"] }
|
|
tauri-plugin-dialog = { version = "2.0.0-beta.0" }
|
|
tauri-plugin-fs = { version = "2.0.0-beta.0" }
|
|
tauri-plugin-http = { version = "2.0.0-beta.0" }
|
|
tauri-plugin-os = { version = "2.0.0-beta.0" }
|
|
tauri-plugin-shell = { version = "2.0.0-beta.0" }
|
|
tokio = { version = "1.36.0", features = ["time"] }
|
|
toml = "0.8.2"
|
|
|
|
[features]
|
|
# this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled.
|
|
# If you use cargo directly instead of tauri's cli you can use this feature flag to switch between tauri's `dev` and `build` modes.
|
|
# DO NOT REMOVE!!
|
|
custom-protocol = ["tauri/custom-protocol"]
|