From 6a6e68e8df68a1e2940f21c2dd3ba6d9010b5d0e Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 3 Dec 2024 19:17:55 -0800 Subject: [PATCH] add api dependency --- validation/Cargo.lock | 23 +++++++++++++++++++++++ validation/Cargo.toml | 1 + 2 files changed, 24 insertions(+) diff --git a/validation/Cargo.lock b/validation/Cargo.lock index 4bfe832..97069a1 100644 --- a/validation/Cargo.lock +++ b/validation/Cargo.lock @@ -960,6 +960,7 @@ version = "0.1.0" dependencies = [ "async-nats", "futures", + "openapi", "rbx_asset", "rbx_binary", "rbx_dom_weak", @@ -1082,6 +1083,18 @@ version = "1.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" +[[package]] +name = "openapi" +version = "0.1.0" +dependencies = [ + "reqwest", + "serde", + "serde_json", + "serde_repr", + "url", + "uuid", +] + [[package]] name = "openssl" version = "0.10.68" @@ -2099,6 +2112,16 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" +[[package]] +name = "uuid" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a" +dependencies = [ + "getrandom", + "serde", +] + [[package]] name = "vcpkg" version = "0.2.15" diff --git a/validation/Cargo.toml b/validation/Cargo.toml index 4f33fd2..2ab0222 100644 --- a/validation/Cargo.toml +++ b/validation/Cargo.toml @@ -6,6 +6,7 @@ edition = "2021" [dependencies] async-nats = "0.38.0" futures = "0.3.31" +openapi = { path = "api" } rbx_asset = { version = "0.2.3", registry = "strafesnet" } rbx_binary = { version = "0.7.4", registry = "strafesnet"} rbx_dom_weak = { version = "2.9.0", registry = "strafesnet"}