Skip to content

Commit cbee1db

Browse files
authored
chore: Allow more permissive alloy versions (#29)
1 parent 0554310 commit cbee1db

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "renegade-sdk"
3-
version = "0.1.13"
3+
version = "0.1.14"
44
edition = "2021"
55
description = "A Rust SDK for the Renegade protocol"
66
homepage = "https://renegade.fi/"
@@ -86,8 +86,8 @@ serde = { version = "^1.0.197" }
8686
serde_json = "1.0.64"
8787

8888
# === Ethereum === #
89-
alloy = { version = "1.0.1", features = ["essentials"] }
90-
alloy-rpc-types-eth = "1.0.1"
89+
alloy = { version = ">=0.12, <2.0", features = ["essentials"] }
90+
alloy-rpc-types-eth = { version = ">=0.12, <2.0" }
9191

9292
# === Misc === #
9393
base64 = "0.22"

examples/order_book/order_book_depth.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
//! Example of getting the order book depth for a token
2-
use renegade_sdk::{example_utils::build_renegade_client, ExternalMatchClient};
2+
use renegade_sdk::example_utils::build_renegade_client;
33

44
#[tokio::main]
55
async fn main() -> Result<(), eyre::Error> {
66
// Get the external match client
7-
let api_key = std::env::var("EXTERNAL_MATCH_KEY").unwrap();
8-
let api_secret = std::env::var("EXTERNAL_MATCH_SECRET").unwrap();
97
let client = build_renegade_client(false /* use_base */).unwrap();
108

119
// Fetch supported tokens

0 commit comments

Comments
 (0)