chore(rust-sdk): published v0.1.23
This commit is contained in:
parent
91080af417
commit
c717d47dce
|
@ -9,8 +9,7 @@ crate-type = ["cdylib", "lib"]
|
||||||
name = "anchor_buffer_parser"
|
name = "anchor_buffer_parser"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["devnet"]
|
default = []
|
||||||
devnet = ["switchboard-v2/devnet"]
|
|
||||||
no-entrypoint = []
|
no-entrypoint = []
|
||||||
no-idl = []
|
no-idl = []
|
||||||
no-log-ix-name = []
|
no-log-ix-name = []
|
||||||
|
@ -18,6 +17,6 @@ cpi = ["no-entrypoint"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
switchboard-v2 = { path = "../../rust/switchboard-v2" }
|
switchboard-v2 = { path = "../../rust/switchboard-v2" }
|
||||||
# switchboard-v2 = { version = "^0.1.20" }
|
# switchboard-v2 = { version = "^0.1.23" }
|
||||||
anchor-lang = "^0.27.0"
|
anchor-lang = "^0.27.0"
|
||||||
solana-program = "~1.14.0"
|
solana-program = "~1.14.0"
|
|
@ -9,8 +9,7 @@ crate-type = ["cdylib", "lib"]
|
||||||
name = "anchor_feed_parser"
|
name = "anchor_feed_parser"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["devnet"]
|
default = []
|
||||||
devnet = ["switchboard-v2/devnet"]
|
|
||||||
no-entrypoint = []
|
no-entrypoint = []
|
||||||
no-idl = []
|
no-idl = []
|
||||||
no-log-ix-name = []
|
no-log-ix-name = []
|
||||||
|
@ -18,7 +17,7 @@ cpi = ["no-entrypoint"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
switchboard-v2 = { path = "../../rust/switchboard-v2" }
|
switchboard-v2 = { path = "../../rust/switchboard-v2" }
|
||||||
# switchboard-v2 = { version = "0.1.20" }
|
# switchboard-v2 = { version = "0.1.23" }
|
||||||
anchor-lang = "^0.27.0"
|
anchor-lang = "^0.27.0"
|
||||||
solana-program = "~1.14.0"
|
solana-program = "~1.14.0"
|
||||||
bytemuck = "1.7.2"
|
bytemuck = "1.7.2"
|
|
@ -9,8 +9,7 @@ crate-type = ["cdylib", "lib"]
|
||||||
name = "anchor_history_parser"
|
name = "anchor_history_parser"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["devnet"]
|
default = []
|
||||||
devnet = ["switchboard-v2/devnet"]
|
|
||||||
no-entrypoint = []
|
no-entrypoint = []
|
||||||
no-idl = []
|
no-idl = []
|
||||||
no-log-ix-name = []
|
no-log-ix-name = []
|
||||||
|
@ -21,6 +20,6 @@ overflow-checks = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
switchboard-v2 = { path = "../../rust/switchboard-v2" }
|
switchboard-v2 = { path = "../../rust/switchboard-v2" }
|
||||||
# switchboard-v2 = { version = "^0.1.20" }
|
# switchboard-v2 = { version = "^0.1.23" }
|
||||||
anchor-lang = "^0.27.0"
|
anchor-lang = "^0.27.0"
|
||||||
solana-program = "^1.13.6"
|
solana-program = "^1.13.6"
|
|
@ -17,7 +17,7 @@ cpi = ["no-entrypoint"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
switchboard-v2 = { path = "../../rust/switchboard-v2" }
|
switchboard-v2 = { path = "../../rust/switchboard-v2" }
|
||||||
# switchboard-v2 = { version = "^0.1.20" }
|
# switchboard-v2 = { version = "^0.1.23" }
|
||||||
anchor-lang = "^0.27.0"
|
anchor-lang = "^0.27.0"
|
||||||
anchor-spl = "^0.27.0"
|
anchor-spl = "^0.27.0"
|
||||||
solana-program = "~1.14.0"
|
solana-program = "~1.14.0"
|
||||||
|
|
|
@ -12,6 +12,6 @@ no-entrypoint = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
switchboard-v2 = { path = "../../rust/switchboard-v2" }
|
switchboard-v2 = { path = "../../rust/switchboard-v2" }
|
||||||
# switchboard-v2 = "^0.1.20"
|
# switchboard-v2 = "^0.1.23"
|
||||||
solana-program = "~1.14.0"
|
solana-program = "~1.14.0"
|
||||||
anchor-lang = "^0.27.0"
|
anchor-lang = "^0.27.0"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "switchboard-v2"
|
name = "switchboard-v2"
|
||||||
version = "0.1.22"
|
version = "0.1.23"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "A Rust library to interact with Switchboard V2 accounts."
|
description = "A Rust library to interact with Switchboard V2 accounts."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
@ -19,8 +19,6 @@ doctest = false
|
||||||
default = ["cpi"]
|
default = ["cpi"]
|
||||||
no-entrypoint = []
|
no-entrypoint = []
|
||||||
cpi = ["no-entrypoint"]
|
cpi = ["no-entrypoint"]
|
||||||
## The devnet feature enables using the Switchboard Devnet Program ID instead of the Mainnet Program ID.
|
|
||||||
devnet = []
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anchor-lang = "~0.27.0"
|
anchor-lang = "~0.27.0"
|
||||||
|
|
|
@ -42,7 +42,7 @@ Or add the following line to your Cargo.toml:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
switchboard-v2 = "0.1.22"
|
switchboard-v2 = "0.1.23"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
|
@ -141,7 +141,7 @@ mod tests {
|
||||||
false,
|
false,
|
||||||
&mut lamports,
|
&mut lamports,
|
||||||
&mut history_data,
|
&mut history_data,
|
||||||
&SWITCHBOARD_V2_DEVNET,
|
&SWITCHBOARD_PROGRAM_ID,
|
||||||
false,
|
false,
|
||||||
0,
|
0,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue