[package]
name = "tensorlogic-compiler"
version.workspace = true
description = "Compiler for transforming logic expressions into tensor computation graphs"
edition.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
[dependencies]
anyhow.workspace = true
serde.workspace = true
tensorlogic-adapters.workspace = true
tensorlogic-ir.workspace = true
rayon = { workspace = true, optional = true }
parking_lot = { workspace = true, optional = true }
prost = { workspace = true, optional = true }
prost-types = { workspace = true, optional = true }
[features]
default = []
parallel = ["rayon", "parking_lot"]
onnx = ["prost", "prost-types"]
pytorch = []
tensorflow = ["prost", "prost-types"]
integration-tests = []
[dev-dependencies]
criterion.workspace = true
serde_json.workspace = true
scirs2-core.workspace = true
tensorlogic-infer.workspace = true
[[bench]]
name = "compilation_performance"
harness = false