feat: add uni-comfyui-sdk - Rust SDK for ComfyUI API

- Complete Rust SDK implementation based on OpenAPI specification
- All 23 endpoints implemented with type-safe interfaces
- Comprehensive error handling and async support
- Full documentation and examples included
- Client renamed to UniComfyUIClient for clear identification
This commit is contained in:
imeepos
2025-08-15 15:31:33 +08:00
parent 5380d9973f
commit 08b981c31f
12 changed files with 2193 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
[package]
name = "uni-comfyui-sdk"
version = "0.1.0"
edition = "2021"
description = "Rust SDK for ComfyUI Workflow Service & Management API"
license = "MIT"
repository = "https://github.com/your-repo/uni-comfyui-sdk"
keywords = ["comfyui", "api", "sdk", "workflow"]
categories = ["api-bindings", "web-programming::http-client"]
[workspace]
[dependencies]
reqwest = { version = "0.11", features = ["json"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1.0", features = ["full"] }
thiserror = "1.0"
url = "2.4"
chrono = { version = "0.4", features = ["serde"] }
[dev-dependencies]
tokio-test = "0.4"