Files
artcraft/crates/api_clients/midjourney_client/Cargo.toml
T
bflatastic 00696060c4 artcraft-native: generate with Midjourney or fal (provider choice)
Images can run on Midjourney with the user's account or on fal with their
API key, picked from the model selector's "Select Provider" submenu.
Midjourney connects through a sign-in window (system webview), fal through
Settings. Jobs are tracked locally and their results uploaded into the
library, resuming after a restart.

The Midjourney credential manager and the router prompt helper move into
midjourney_client and artcraft_router, shared by both desktop apps.
2026-10-11 20:46:39 +07:00

44 lines
967 B
TOML

[package]
name = "midjourney_client"
edition = "2024"
version = "0.0.1"
publish = false
[lib]
name = "midjourney_client"
path = "src/lib.rs"
[dependencies]
# Internal
browser_emulation.workspace = true
cloudflare_errors.workspace = true
cookie_store_wrapper = { workspace = true, features = ["wreq"] }
errors.workspace = true
uuid_utils.workspace = true
# External
anyhow.workspace = true
base64.workspace = true
chrono.workspace = true
futures.workspace = true
log.workspace = true
serde.workspace = true
serde_json.workspace = true
tempfile.workspace = true
tokio = { version = "1", features = ["full"] }
toml.workspace = true
url.workspace = true
wreq-util.workspace = true
wreq.workspace = true
# NB: We need to parse HTML to get out the websocket token
dom_query = "0.20.2"
# NB: Midjourney's websocket sends server->client frames as CBOR.
ciborium = "0.2"
[dev-dependencies]
filesys.workspace = true
test_data.workspace = true
test_utils.workspace = true