# 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-image-diffusion"
version = "0.1.130"
authors = ["Zach Handley <zachhandley@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local image generation backend for Blazen using diffusion-rs (pure Rust Stable Diffusion)"
readme = false
license = "AGPL-3.0-or-later"
repository = "https://github.com/ZachHandley/Blazen"
resolver = "2"

[features]
cuda = ["engine"]
default = []
engine = []
metal = ["engine"]

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

[dependencies.blazen-model-cache]
version = "0.1.130"

[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"

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

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