-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
48 lines (37 loc) · 1.34 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[package]
name = "nicegui-app"
version = "0.1.0"
description = "A example for how to use nicegui with pytauri."
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
# The `_lib` suffix may seem redundant but it is necessary
# to make the lib name unique and wouldn't conflict with the bin name.
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
name = "nicegui_app_lib"
# `cdylib` is required for building python extension modules files
crate-type = ["staticlib", "cdylib", "rlib"]
[[bin]]
# the same as the package name
name = "nicegui-app"
path = "src/main.rs"
required-features = ["pytauri/standalone"]
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = [] }
tauri-plugin-opener = "2"
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1" }
pyo3 = { version = "0.23" }
pytauri = { version = "0.2" }
tauri-plugin-pytauri = { version = "0.2" }
tauri-plugin-notification = { version = "2" }
pytauri-plugin-notification = { version = "0.2" }
[profile.release]
codegen-units = 1 # Allows LLVM to perform better optimization.
lto = true # Enables link-time-optimizations.
[profile.bundle-dev]
inherits = "dev"
[profile.bundle-release]
inherits = "release"