-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
37 lines (34 loc) · 1.17 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
[package]
name = "tauri-plugin-python"
version = "0.3.4"
authors = [ "Marco Mengelkoch" ]
description = "A tauri 2 plugin to use python code in the backend."
keywords = ["rust", "python", "tauri", "gui"]
edition = "2021"
rust-version = "1.77.2"
exclude = ["/examples", "/webview-dist", "/webview-src", "/node_modules"]
links = "tauri-plugin-python"
license = "MIT"
homepage = "https://github.com/marcomq/tauri-plugin-python"
repository = "https://github.com/marcomq/tauri-plugin-python"
[dependencies]
tauri = { version = "2" }
serde = { version = "1", features = ["derive"] }
thiserror = "2"
lazy_static = "1.5.0"
pyo3 = { version = "0.23.3", features=["auto-initialize", "abi3-py39", "generate-import-lib"], optional = true }
rustpython-pylib = { version = "0.4.0" }
rustpython-stdlib = { version = "0.4.0", features = ["threading"] }
rustpython-vm = { version = "0.4.0", features = [
"importlib",
"serde",
"threading",
] }
serde_json = "1.0.136"
[build-dependencies]
tauri-plugin = { version = "2", features = ["build"] }
[features]
venv = []
default = ["venv"] # auto load src-python/.venv
# default = ["venv", "pyo3"] # enable to use pyo3 instead of rustpython
pyo3 = ["dep:pyo3"]