# 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-reason"
version = "0.35.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Code reasoning engine for Common Agent Runtime — adaptive, graph-driven, learning"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/Parslee-ai/car"

[features]
default = []
metal = ["car-inference/metal"]

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.car-ast]
version = "0.35.0"

[dependencies.car-inference]
version = "0.35.0"

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

[dependencies.car-memgine]
version = "0.35.0"

[dependencies.car-verify]
version = "0.35.0"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = ["v4"]

[lints.clippy]
assertions_on_constants = "allow"
doc_lazy_continuation = "allow"
empty_line_after_doc_comments = "allow"
field_reassign_with_default = "allow"
large_enum_variant = "allow"
needless_range_loop = "allow"
result_large_err = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
unnecessary_sort_by = "allow"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(car_system_audio)",
    "cfg(car_skip_mlx)",
    "cfg(car_skip_cuda)",
]
