From 30daca8462ce026bed397aa8d90de702dc6c8714 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Sun, 18 May 2025 21:43:46 -0400 Subject: [PATCH] runwayml crate --- Cargo.lock | 29 ++++++++++++ Cargo.toml | 1 + .../api_clients/runwayml_client/Cargo.toml | 45 +++++++++++++++++++ .../api_clients/runwayml_client/src/lib.rs | 1 + 4 files changed, 76 insertions(+) create mode 100644 crates/lib/api_clients/runwayml_client/Cargo.toml create mode 100644 crates/lib/api_clients/runwayml_client/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index e5f9ec03f7..b413f70a70 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10301,6 +10301,35 @@ dependencies = [ "realfft", ] +[[package]] +name = "runwayml_client" +version = "0.0.1" +dependencies = [ + "anyhow", + "base64 0.22.1", + "chrono", + "cookie 0.18.1", + "crockford", + "errors", + "filesys", + "hex-literal", + "idempotency", + "log", + "once_cell", + "rand 0.9.1", + "reqwest 0.12.15", + "serde", + "serde_derive", + "serde_json", + "sha3", + "subprocess_common", + "testing", + "thiserror 2.0.12", + "tokio", + "toml 0.8.22", + "workspace-build-acceleration", +] + [[package]] name = "rust-embed" version = "8.0.0" diff --git a/Cargo.toml b/Cargo.toml index 3cadfa236d..a653f96654 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,6 +34,7 @@ members = [ "crates/lib/api_clients/google_drive_common", "crates/lib/api_clients/google_sign_in", "crates/lib/api_clients/openai_sora_client", + "crates/lib/api_clients/runwayml_client", "crates/lib/api_clients/storyteller_client", "crates/lib/api_clients/thumbnail_generator", "crates/lib/bootstrap", diff --git a/crates/lib/api_clients/runwayml_client/Cargo.toml b/crates/lib/api_clients/runwayml_client/Cargo.toml new file mode 100644 index 0000000000..ac69bf6d22 --- /dev/null +++ b/crates/lib/api_clients/runwayml_client/Cargo.toml @@ -0,0 +1,45 @@ +[package] +name = "runwayml_client" +edition = "2021" +version = "0.0.1" +publish = false + +[package.metadata.cargo-udeps.ignore] +normal = ["workspace-build-acceleration"] + +[lib] +name = "runwayml_client" +path = "src/lib.rs" + +[dependencies] + +# Workspace hack (faster compile times) +workspace-build-acceleration = { workspace = true } + +# Internal +crockford = { path = "../../data/crockford" } +errors = { path = "../../errors" } +idempotency = { path = "../../idempotency" } +subprocess_common = { path = "../../subprocess_common" } + +# External +anyhow = { workspace = true } +base64 = { workspace = true } +chrono = { workspace = true} +cookie = { workspace = true } +hex-literal = { workspace = true } +log = { workspace = true } +once_cell= { workspace = true } +rand = { workspace = true } +reqwest = { workspace = true, features = ["multipart", "gzip"] } +serde = { workspace = true } +serde_derive = { workspace = true } +serde_json = { workspace = true } +sha3 = { workspace = true } +thiserror = { workspace = true } +tokio = { version = "1.38.0", features = ["macros"] } +toml = { workspace = true } + +[dev-dependencies] +testing = { path = "../../testing" } +filesys = { path = "../../files/filesys" } diff --git a/crates/lib/api_clients/runwayml_client/src/lib.rs b/crates/lib/api_clients/runwayml_client/src/lib.rs new file mode 100644 index 0000000000..f61789f48d --- /dev/null +++ b/crates/lib/api_clients/runwayml_client/src/lib.rs @@ -0,0 +1 @@ +/// TODO DOCS