From f555c63cb935c5c2ce980270c0866f7eff165024 Mon Sep 17 00:00:00 2001 From: jordy25519 Date: Wed, 22 Jan 2025 11:28:23 +0800 Subject: [PATCH] v2.107.0 compat --- .github/workflows/build.yml | 2 +- Cargo.lock | 8 ++++---- Cargo.toml | 4 ++-- Dockerfile | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0e9ecf3..db5b32e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: install libdrift_ffi_sys run: | - curl -L https://github.com/drift-labs/drift-ffi-sys/releases/download/v2.105.0/libdrift_ffi_sys.so -o libdrift_ffi_sys.so + curl -L https://github.com/drift-labs/drift-ffi-sys/releases/download/v2.107.0/libdrift_ffi_sys.so -o libdrift_ffi_sys.so sudo cp libdrift_ffi_sys.so /usr/lib/ - name: Build run: | diff --git a/Cargo.lock b/Cargo.lock index 95ef713..c303699 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1764,7 +1764,7 @@ dependencies = [ [[package]] name = "drift-gateway" -version = "1.2.5" +version = "1.3.0" dependencies = [ "actix-web", "argh", @@ -1786,7 +1786,7 @@ dependencies = [ [[package]] name = "drift-idl-gen" version = "0.1.2" -source = "git+https://github.com/drift-labs/drift-rs?rev=9e06e1b#9e06e1b060de86d0b2c80531858bc14f1c8877c6" +source = "git+https://github.com/drift-labs/drift-rs?tag=v1.0.0-alpha.6#14805a640af31c6c970d61a2b68e11988662e262" dependencies = [ "proc-macro2", "quote", @@ -1798,8 +1798,8 @@ dependencies = [ [[package]] name = "drift-rs" -version = "1.0.0-alpha.5" -source = "git+https://github.com/drift-labs/drift-rs?rev=9e06e1b#9e06e1b060de86d0b2c80531858bc14f1c8877c6" +version = "1.0.0-alpha.6" +source = "git+https://github.com/drift-labs/drift-rs?tag=v1.0.0-alpha.6#14805a640af31c6c970d61a2b68e11988662e262" dependencies = [ "abi_stable", "ahash 0.8.11", diff --git a/Cargo.toml b/Cargo.toml index b6725b9..e5c431a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "drift-gateway" -version = "1.2.5" +version = "1.3.0" edition = "2021" [dependencies] actix-web = "*" argh = "*" -drift-rs = { git = "https://github.com/drift-labs/drift-rs", rev = "9e06e1b" } +drift-rs = { git = "https://github.com/drift-labs/drift-rs", tag = "v1.0.0-alpha.6" } env_logger = "*" futures-util = "*" log = "*" diff --git a/Dockerfile b/Dockerfile index 6f4d9e6..3279875 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ RUN apt-get update && apt-get install -y libgcc1 WORKDIR /build COPY . . RUN rustup component add rustfmt && rustup install 1.76.0-x86_64-unknown-linux-gnu -RUN curl -L https://github.com/drift-labs/drift-ffi-sys/releases/download/v2.105.0/libdrift_ffi_sys.so -o libdrift_ffi_sys.so && cp libdrift_ffi_sys.so /usr/local/lib +RUN curl -L https://github.com/drift-labs/drift-ffi-sys/releases/download/v2.107.0/libdrift_ffi_sys.so -o libdrift_ffi_sys.so && cp libdrift_ffi_sys.so /usr/local/lib # DEV: choose to build drift system libs from source or not # a) default: use prebuilt lib (faster build time)