mixvideo-v2/cargos/comfyui-sdk/Cargo.toml

81 lines
1.5 KiB
TOML

[package]
name = "comfyui-sdk"
version = "0.1.0"
edition = "2021"
authors = ["Your Name <your.email@example.com>"]
description = "ComfyUI SDK for Rust"
license = "MIT OR Apache-2.0"
repository = "https://github.com/your-username/comfyui-sdk"
keywords = ["comfyui", "ai", "image-generation", "workflow"]
categories = ["api-bindings", "multimedia::images"]
[lib]
name = "comfyui_sdk"
path = "lib.rs"
[dependencies]
# HTTP client
reqwest = { version = "0.11", features = ["json", "multipart", "stream"] }
# WebSocket client
tokio-tungstenite = { version = "0.20", features = ["native-tls"] }
futures-util = "0.3"
# Async runtime
tokio = { version = "1.0", features = ["full"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Date/time handling
chrono = { version = "0.4", features = ["serde"] }
# Error handling
anyhow = "1.0"
thiserror = "1.0"
# Logging
log = "0.4"
# URL handling
url = "2.4"
# UUID generation
uuid = { version = "1.0", features = ["v4", "serde"] }
# File handling
bytes = "1.0"
mime = "0.3"
# Template parsing
regex = "1.0"
# Lazy static
once_cell = "1.0"
[dev-dependencies]
tokio-test = "0.4"
tempfile = "3.0"
[features]
default = ["websocket"]
websocket = []
templates = []
[[example]]
name = "main"
path = "examples/main.rs"
[[example]]
name = "simple_local_image"
path = "examples/simple_local_image.rs"
[[example]]
name = "real_local_image_test"
path = "examples/real_local_image_test.rs"
[[example]]
name = "test_url_fix"
path = "examples/test_url_fix.rs"