From 3b49f578c41c338502efd2f319ff8f5348ea7ad1 Mon Sep 17 00:00:00 2001 From: jordy25519 Date: Thu, 24 Oct 2024 11:56:14 +0800 Subject: [PATCH] release v1.0.0-alpha.3 --- Cargo.toml | 2 +- crates/drift-ffi-sys | 2 +- crates/src/drift_idl.rs | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 04f8715..a2e07eb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "drift-rs" -version = "1.0.0-alpha.2" +version = "1.0.0-alpha.3" edition = "2021" build = "build.rs" license = "Apache-2.0" diff --git a/crates/drift-ffi-sys b/crates/drift-ffi-sys index b7c993e..719a0f9 160000 --- a/crates/drift-ffi-sys +++ b/crates/drift-ffi-sys @@ -1 +1 @@ -Subproject commit b7c993edbf2259abddf4dd7e8b12576e0d4efeb2 +Subproject commit 719a0f9511a5bb49228841ff1e3c500025dfcc40 diff --git a/crates/src/drift_idl.rs b/crates/src/drift_idl.rs index 7a3d0c9..899553c 100644 --- a/crates/src/drift_idl.rs +++ b/crates/src/drift_idl.rs @@ -2,7 +2,6 @@ #![doc = r""] #![doc = r" Auto-generated IDL types, manual edits do not persist (see `crates/drift-idl-gen`)"] #![doc = r""] -use self::traits::ToAccountMetas; use anchor_lang::{ prelude::{ account, @@ -12,6 +11,8 @@ use anchor_lang::{ Discriminator, }; use solana_sdk::{instruction::AccountMeta, pubkey::Pubkey}; + +use self::traits::ToAccountMetas; pub mod traits { use solana_sdk::instruction::AccountMeta; #[doc = r" This is distinct from the anchor version of the trait"] @@ -1801,8 +1802,9 @@ pub mod instructions { impl anchor_lang::InstructionData for InitializePythPullOracle {} } pub mod types { - use super::*; use std::ops::Mul; + + use super::*; #[doc = r" backwards compatible u128 deserializing data from rust <=1.76.0 when u/i128 was 8-byte aligned"] #[doc = r" https://solana.stackexchange.com/questions/7720/using-u128-without-sacrificing-alignment-8"] #[derive(