runway-sdk 0.1.0

Async Rust SDK for the Runway API with typed generation requests, uploads, task polling, and workflows.
# 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 = "2021"
name = "runway-sdk"
version = "0.1.0"
build = false
include = [
    "src/**",
    "examples/**",
    "tests/**",
    "docs/terminal-preview.svg",
    "README.md",
    "LICENSE-APACHE",
    "LICENSE-MIT",
    "Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async Rust SDK for the Runway API with typed generation requests, uploads, task polling, and workflows."
homepage = "https://github.com/AbdelStark/runway-rs"
documentation = "https://docs.rs/runway-sdk"
readme = "README.md"
keywords = [
    "runway",
    "runwayml",
    "video",
    "generative-ai",
    "api-client",
]
categories = [
    "api-bindings",
    "asynchronous",
    "multimedia::video",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/AbdelStark/runway-rs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = ["x86_64-unknown-linux-gnu"]

[features]
live-tests = []
unstable-endpoints = []

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

[[example]]
name = "avatars"
path = "examples/avatars.rs"

[[example]]
name = "character_performance"
path = "examples/character_performance.rs"

[[example]]
name = "documents"
path = "examples/documents.rs"

[[example]]
name = "image_to_video"
path = "examples/image_to_video.rs"

[[example]]
name = "image_upscale"
path = "examples/image_upscale.rs"
required-features = ["unstable-endpoints"]

[[example]]
name = "lip_sync"
path = "examples/lip_sync.rs"
required-features = ["unstable-endpoints"]

[[example]]
name = "list_tasks"
path = "examples/list_tasks.rs"
required-features = ["unstable-endpoints"]

[[example]]
name = "organization"
path = "examples/organization.rs"

[[example]]
name = "poll_task"
path = "examples/poll_task.rs"

[[example]]
name = "realtime_sessions"
path = "examples/realtime_sessions.rs"

[[example]]
name = "sound_effect"
path = "examples/sound_effect.rs"

[[example]]
name = "speech_to_speech"
path = "examples/speech_to_speech.rs"

[[example]]
name = "text_to_image"
path = "examples/text_to_image.rs"

[[example]]
name = "text_to_speech"
path = "examples/text_to_speech.rs"

[[example]]
name = "text_to_video"
path = "examples/text_to_video.rs"

[[example]]
name = "uploads"
path = "examples/uploads.rs"

[[example]]
name = "video_to_video"
path = "examples/video_to_video.rs"

[[example]]
name = "voice_dubbing"
path = "examples/voice_dubbing.rs"

[[example]]
name = "voice_isolation"
path = "examples/voice_isolation.rs"

[[example]]
name = "webhook"
path = "examples/webhook.rs"

[[example]]
name = "workflows"
path = "examples/workflows.rs"

[[test]]
name = "live_api"
path = "tests/live_api.rs"

[[test]]
name = "mock_server"
path = "tests/mock_server.rs"

[[test]]
name = "types_test"
path = "tests/types_test.rs"

[dependencies.async-stream]
version = "0.3"

[dependencies.base64]
version = "0.22"

[dependencies.futures-core]
version = "0.3"

[dependencies.httpdate]
version = "1"

[dependencies.mime_guess]
version = "2"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "multipart",
    "stream",
]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "serde",
    "v4",
]

[dev-dependencies.assert_matches]
version = "1"

[dev-dependencies.dotenvy]
version = "0.15"

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.wiremock]
version = "0.6"