-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
41 lines (36 loc) · 1.26 KB
/
Cargo.toml
File metadata and controls
41 lines (36 loc) · 1.26 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
[workspace]
# This package is intentionally standalone (not in parent workspace)
# because PyO3 extension-module requires maturin for building
[package]
name = "tensorlogic-py"
version = "0.1.0-rc.1"
edition = "2021"
description = "Python bindings for TensorLogic"
license = "Apache-2.0"
homepage = "https://github.com/cool-japan/tensorlogic"
repository = "https://github.com/cool-japan/tensorlogic"
rust-version = "1.90"
[lib]
name = "pytensorlogic"
crate-type = ["cdylib"]
[features]
default = []
simd = ["scirs2-core/simd"]
gpu = [] # Future GPU support
[dependencies]
pyo3 = { version = "0.27", features = ["extension-module", "abi3-py39"] }
numpy = "0.27"
anyhow = "1"
serde_json = "1"
serde = { version = "1", features = ["derive"] }
chrono = { version = "0.4", features = ["serde"] }
oxicode = { version = "0.1.1", features = ["serde"] }
tensorlogic-ir = { path = "../tensorlogic-ir" }
tensorlogic-compiler = { path = "../tensorlogic-compiler" }
tensorlogic-infer = { path = "../tensorlogic-infer" }
tensorlogic-adapters = { path = "../tensorlogic-adapters" }
tensorlogic-scirs-backend = { path = "../tensorlogic-scirs-backend" }
tensorlogic-oxirs-bridge = { path = "../tensorlogic-oxirs-bridge" }
scirs2-core = "0.1.2"
[package.metadata.maturin]
# optional: maturin build config