use latest sqlite and redis

This commit is contained in:
vms 2021-04-12 15:30:37 +03:00
parent 1dcc9968bb
commit ab14b987ea
3 changed files with 3 additions and 3 deletions

View File

@ -18,9 +18,9 @@ use fce::FCE;
use fce::IValue; use fce::IValue;
const REDIS_DOWNLOAD_URL: &str = const REDIS_DOWNLOAD_URL: &str =
"https://github.com/fluencelabs/redis/releases/download/v0.11.0_w/redis.wasm"; "https://github.com/fluencelabs/redis/releases/download/v0.12.0_w/redis.wasm";
const SQLITE_DOWNLOAD_URL: &str = const SQLITE_DOWNLOAD_URL: &str =
"https://github.com/fluencelabs/sqlite/releases/download/v0.11.0_w/sqlite3.wasm"; "https://github.com/fluencelabs/sqlite/releases/download/v0.12.0_w/sqlite3.wasm";
pub async fn download(url: &str) -> bytes::Bytes { pub async fn download(url: &str) -> bytes::Bytes {
reqwest::get(url) reqwest::get(url)

View File

@ -6,5 +6,5 @@ fce build --release
rm artifacts/* rm artifacts/*
cp ../../target/wasm32-wasi/release/sqlite_test.wasm artifacts/ cp ../../target/wasm32-wasi/release/sqlite_test.wasm artifacts/
wget https://github.com/fluencelabs/sqlite/releases/download/v0.10.0_w/sqlite3.wasm wget https://github.com/fluencelabs/sqlite/releases/download/v0.12.0_w/sqlite3.wasm
mv sqlite3.wasm artifacts/ mv sqlite3.wasm artifacts/