-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (37 loc) · 1.14 KB
/
Copy pathCargo.toml
File metadata and controls
43 lines (37 loc) · 1.14 KB
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
[package]
name = "async_py"
version = "0.2.1"
description = "A Rust library for calling Python code asynchronously using pyo3 or rustpython."
edition = "2021"
license = "MIT"
repository = "https://github.com/marcomq/async_py"
readme = "README.md"
keywords = ["python", "async", "pyo3", "rustpython", "ffi"]
categories = ["api-bindings", "asynchronous", "external-ffi-bindings"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
dunce = "1.0.4"
serde_json = "1.0.114"
thiserror = "2.0"
once_cell = "1.19"
tokio = { version = "1.47.0", features = ["sync", "macros", "rt", "rt-multi-thread"] }
[features]
default = ["pyo3"]
# default = ["rustpython"]
pyo3 = ["dep:pyo3"]
rustpython = ["dep:rustpython-vm", "dep:rustpython-stdlib"]
[dependencies.pyo3]
version = "0.26.0"
features = ["auto-initialize"]
optional = true
[dependencies.rustpython-vm]
version = "0.4.0"
optional = true
features = ["threading", "serde", "importlib"]
[dependencies.rustpython-stdlib]
version = "0.4.0"
optional = true
features = ["threading"]
[dev-dependencies]
tempfile = "3"
tokio = { version = "1.47.0", features = ["full"] }