car-inference 0.1.1

Local model inference for CAR — Candle backend with Qwen3 models
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 = "car-inference"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local model inference for CAR — Candle backend with Qwen3 models"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/Parslee-ai/car"

[features]
ast = ["dep:car-ast"]
cuda = [
    "candle-core/cuda",
    "candle-nn/cuda",
    "candle-transformers/cuda",
]
default = ["ast"]
metal = [
    "candle-core/metal",
    "candle-nn/metal",
    "candle-transformers/metal",
]

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

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

[dependencies.candle-core]
version = "0.9"

[dependencies.candle-nn]
version = "0.9"

[dependencies.candle-transformers]
version = "0.9"

[dependencies.car-ast]
version = "0.1.1"
optional = true

[dependencies.car-ir]
version = "0.1.1"

[dependencies.hf-hub]
version = "0.4"
features = [
    "tokio",
    "rustls-tls",
]
default-features = false

[dependencies.rand]
version = "0.9"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokenizers]
version = "0.21"
features = ["onig"]
default-features = false

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]