# 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 = "2024"
rust-version = "1.91"
name = "blazen-3d"
version = "0.6.75"
authors = ["Zach Handley <zachhandley@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multi-backend 3D-pipeline crate for Blazen (texturizer, rigger, refiner, animator capability traits)"
readme = false
license = "MPL-2.0"
repository = "https://github.com/ZachHandley/Blazen"
resolver = "2"

[features]
compat-proxy = [
    "dep:reqwest",
    "dep:base64",
    "dep:serde_json",
]
default = []
triposr = [
    "dep:blazen-3d-core",
    "dep:blazen-audio-core",
    "dep:candle-core",
    "dep:candle-nn",
    "dep:hf-hub",
    "dep:serde_json",
    "dep:tokio",
]

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

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

[dependencies.base64]
version = "0.22"
optional = true

[dependencies.blazen-3d-core]
version = "0.6.75"
optional = true

[dependencies.blazen-audio-core]
version = "0.6.75"
optional = true

[dependencies.candle-core]
version = "0.10"
optional = true

[dependencies.candle-nn]
version = "0.10"
optional = true

[dependencies.futures-core]
version = "0.3"

[dependencies.hf-hub]
version = "0.5"
features = [
    "rustls-tls",
    "ureq",
]
optional = true
default-features = false

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "stream",
    "query",
    "rustls",
    "multipart",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "full",
    "rt",
]
optional = true

[dev-dependencies.mockito]
version = "1.7.2"

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

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

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "macros",
    "rt-multi-thread",
]

[lints.clippy]
all = "warn"
pedantic = "warn"

[lints.rust]
dead_code = "warn"
unsafe_code = "warn"
