From 1f47486d5252c6e1a092f05a975ee0572bead9a1 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Sat, 28 Nov 2020 13:34:23 +0800 Subject: [PATCH] feat: use public-collect quickjs --- __enclave/virt_enclave/Cargo.lock | 2 ++ __enclave/virt_enclave/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/__enclave/virt_enclave/Cargo.lock b/__enclave/virt_enclave/Cargo.lock index 650562a..8a09615 100644 --- a/__enclave/virt_enclave/Cargo.lock +++ b/__enclave/virt_enclave/Cargo.lock @@ -552,6 +552,7 @@ checksum = "4d58d1b70b004888f764dfbf6a26a3b0342a1632d33968e4a179d8011c760614" [[package]] name = "libquickjs-sys" version = "0.7.0" +source = "git+https://git.hatter.ink/public-collect/quickjs-rs.git#3a6b5b248557c8d1882a47a6456106566008bb3a" dependencies = [ "cc", "copy_dir", @@ -797,6 +798,7 @@ checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" [[package]] name = "quick-js" version = "0.3.5-alpha.0" +source = "git+https://git.hatter.ink/public-collect/quickjs-rs.git#3a6b5b248557c8d1882a47a6456106566008bb3a" dependencies = [ "libquickjs-sys", "once_cell", diff --git a/__enclave/virt_enclave/Cargo.toml b/__enclave/virt_enclave/Cargo.toml index 2e3ae7f..11e4109 100644 --- a/__enclave/virt_enclave/Cargo.toml +++ b/__enclave/virt_enclave/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -quick-js = { path= "external/quickjs-rs" } +quick-js = { git = "https://git.hatter.ink/public-collect/quickjs-rs.git" } ring = "0.16" hex = "0.4" serde = { version = "1.0", features = ["derive"] }