[workspace] members = ["sys"] resolver = "2" [workspace.package] version = "0.1.3" edition = "2021" license = "MIT" repository = "https://github.com/newfla/diffusion-rs" keywords = ["ai", "stable-diffusion", "flux"] [package] name = "diffusion-rs" version.workspace = true edition.workspace = true license.workspace = true repository.workspace = true keywords.workspace = true description = "High level API for stable-diffusion.cpp" documentation = "https://docs.rs/diffusion-rs" [dependencies] derive_builder = "0.20.2" diffusion-rs-sys = { path = "sys", version = "0.1.3" } hf-hub = "0.3.2" libc = "0.2.161" num_cpus = "1.16.0" thiserror = "2.0.3" [features] cublas = ["diffusion-rs-sys/cublas"] hipblas = ["diffusion-rs-sys/hipblas"] metal = ["diffusion-rs-sys/metal"] vulkan = ["diffusion-rs-sys/vulkan"] sycl = ["diffusion-rs-sys/sycl"] flashattn = ["diffusion-rs-sys/flashattn"]