tensorlogic-compiler 0.1.0-beta.1

Compiler for transforming logic expressions into tensor computation graphs
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "tensorlogic-compiler"
version = "0.1.0-beta.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compiler for transforming logic expressions into tensor computation graphs"
homepage = "https://github.com/cool-japan/tensorlogic"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/cool-japan/tensorlogic"

[features]
default = []
integration-tests = []
onnx = [
    "prost",
    "prost-types",
]
parallel = [
    "rayon",
    "parking_lot",
]
pytorch = []
tensorflow = [
    "prost",
    "prost-types",
]

[lib]
name = "tensorlogic_compiler"
path = "src/lib.rs"

[[example]]
name = "04_compiler_new_operations"
path = "examples/04_compiler_new_operations.rs"

[[example]]
name = "05_optimizations"
path = "examples/05_optimizations.rs"

[[example]]
name = "06_optimization_pipeline"
path = "examples/06_optimization_pipeline.rs"

[[example]]
name = "07_metadata_propagation"
path = "examples/07_metadata_propagation.rs"

[[example]]
name = "08_caching_and_metadata"
path = "examples/08_caching_and_metadata.rs"

[[example]]
name = "09_incremental_compilation"
path = "examples/09_incremental_compilation.rs"

[[example]]
name = "10_modal_temporal_logic"
path = "examples/10_modal_temporal_logic.rs"

[[example]]
name = "11_fuzzy_logic"
path = "examples/11_fuzzy_logic.rs"

[[example]]
name = "12_advanced_optimizations"
path = "examples/12_advanced_optimizations.rs"

[[example]]
name = "13_optimization_profiling"
path = "examples/13_optimization_profiling.rs"

[[example]]
name = "14_parallel_compilation"
path = "examples/14_parallel_compilation.rs"

[[example]]
name = "15_onnx_export"
path = "examples/15_onnx_export.rs"

[[example]]
name = "16_tensorflow_export"
path = "examples/16_tensorflow_export.rs"

[[example]]
name = "17_pytorch_export"
path = "examples/17_pytorch_export.rs"

[[example]]
name = "18_logic_import"
path = "examples/18_logic_import.rs"

[[example]]
name = "19_set_operations"
path = "examples/19_set_operations.rs"

[[example]]
name = "20_constraint_programming"
path = "examples/20_constraint_programming.rs"

[[example]]
name = "21_profiling_and_optimization"
path = "examples/21_profiling_and_optimization.rs"

[[example]]
name = "22_hybrid_logic"
path = "examples/22_hybrid_logic.rs"

[[example]]
name = "23_abductive_reasoning"
path = "examples/23_abductive_reasoning.rs"

[[test]]
name = "adapter_integration"
path = "tests/adapter_integration.rs"

[[test]]
name = "end_to_end"
path = "tests/end_to_end.rs"

[[bench]]
name = "compilation_performance"
path = "benches/compilation_performance.rs"
harness = false

[[bench]]
name = "optimization_performance"
path = "benches/optimization_performance.rs"

[dependencies.anyhow]
version = "1"

[dependencies.parking_lot]
version = "0.12"
optional = true

[dependencies.prost]
version = "0.14"
optional = true

[dependencies.prost-types]
version = "0.14"
optional = true

[dependencies.rayon]
version = "1.11"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.tensorlogic-adapters]
version = "0.1.0-beta.1"

[dependencies.tensorlogic-ir]
version = "0.1.0-beta.1"

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.scirs2-core]
version = "0.1.3"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tensorlogic-infer]
version = "0.1.0-beta.1"