[package]
edition = "2021"
name = "candle-graph"
version = "0.3.0"
authors = ["Stepan Zagray"]
build = false
exclude = [
"/target/**",
"/.git/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Static structure and dataflow analysis for candle-rs models"
documentation = "https://docs.rs/candle-graph"
readme = "README.md"
keywords = [
"candle",
"machine-learning",
"static-analysis",
"deep-learning",
]
categories = [
"development-tools",
"science",
]
license = "MIT"
repository = "https://github.com/StepanZagray/candle_graph"
[package.metadata.docs.rs]
all-features = true
[features]
all = [
"runtime",
"visualizer",
]
default = ["static"]
runtime = []
static = []
visualizer = []
[lib]
name = "candle_graph"
path = "src/lib.rs"
[[bin]]
name = "candle-graph"
path = "src/main.rs"
[[bin]]
name = "cargo-candle-graph"
path = "src/cargo_candle_graph.rs"
[[test]]
name = "cargo_context"
path = "tests/cargo_context.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "contracts"
path = "tests/contracts.rs"
[[test]]
name = "dataflow"
path = "tests/dataflow.rs"
[[test]]
name = "model_ir"
path = "tests/model_ir.rs"
[[test]]
name = "op_semantics"
path = "tests/op_semantics.rs"
[[test]]
name = "phase_profile"
path = "tests/phase_profile.rs"
required-features = ["runtime"]
[[test]]
name = "qualified_symbols"
path = "tests/qualified_symbols.rs"
[[test]]
name = "runtime"
path = "tests/runtime.rs"
required-features = ["runtime"]
[[test]]
name = "structure"
path = "tests/structure.rs"
[[test]]
name = "tofy_load"
path = "tests/tofy_load.rs"
[[test]]
name = "viewer"
path = "tests/viewer.rs"
required-features = ["visualizer"]
[dependencies.anyhow]
version = "1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.proc-macro2]
version = "1"
features = ["span-locations"]
[dependencies.quote]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.syn]
version = "2"
features = [
"full",
"extra-traits",
"visit",
"parsing",
"printing",
]
[dependencies.walkdir]
version = "2"