From 55b17eaec5bb21c69b5f2ccb0b8e49cdcf06309a Mon Sep 17 00:00:00 2001 From: Lucien Greathouse Date: Mon, 25 Feb 2019 18:35:51 -0800 Subject: [PATCH] Start dependency on rbx_reflection --- Cargo.lock | 12 ++++++++++++ server/Cargo.toml | 1 + server/src/project.rs | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index f3cc9caf..3811b294 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1042,6 +1042,16 @@ dependencies = [ "uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "rbx_reflection" +version = "0.2.373" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rbx_dom_weak 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "rbx_xml" version = "0.3.0" @@ -1186,6 +1196,7 @@ dependencies = [ "rand 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "rbx_binary 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "rbx_dom_weak 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rbx_reflection 0.2.373 (registry+https://github.com/rust-lang/crates.io-index)", "rbx_xml 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "regex 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "reqwest 0.9.10 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1849,6 +1860,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cbf7e9e623549b0e21f6e97cf8ecf247c1a8fd2e8a992ae265314300b2455d5c" "checksum rbx_binary 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9c4d3bffbec1f20f66684448e46ef45dad2fbf1185c3d8f3e29018f027484ffc" "checksum rbx_dom_weak 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a67bbec623f2f12992dbf2e647deb3fe38613d4f874a8feeae566a931bebe63a" +"checksum rbx_reflection 0.2.373 (registry+https://github.com/rust-lang/crates.io-index)" = "ca97579a12bbf53c76faf09bc5847ae0f14e372d7c7f4c0b68f1c8a2949af28c" "checksum rbx_xml 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2b394e64979c52190e6462dd81d5b2258cdfb7e3891cefaff5d3c4af7cdc07b5" "checksum rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2" "checksum redox_syscall 0.1.51 (registry+https://github.com/rust-lang/crates.io-index)" = "423e376fffca3dfa06c9e9790a9ccd282fafb3cc6e6397d01dbf64f9bacc6b85" diff --git a/server/Cargo.toml b/server/Cargo.toml index 2ee9623c..8e71c00f 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -33,6 +33,7 @@ rand = "0.4" rbx_binary = "0.3.0" rbx_dom_weak = "0.3.0" rbx_xml = "0.3.0" +rbx_reflection = "0.2.373" regex = "1.0" reqwest = "0.9.5" rlua = "0.16" diff --git a/server/src/project.rs b/server/src/project.rs index acefea5e..5ece4ff3 100644 --- a/server/src/project.rs +++ b/server/src/project.rs @@ -9,7 +9,7 @@ use std::{ use log::warn; use failure::Fail; use maplit::hashmap; -use rbx_dom_weak::RbxValue; +use rbx_dom_weak::{UnresolvedRbxValue, RbxValue}; use serde_derive::{Serialize, Deserialize}; pub static PROJECT_FILENAME: &'static str = "default.project.json";