Skip to content

Commit

Permalink
Removes unused code (under no-default-features)
Browse files Browse the repository at this point in the history
  • Loading branch information
v0-e committed Nov 26, 2024
1 parent dcfbd00 commit 3186585
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions v4-client-rs/client/examples/faucet_endpoint.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
mod support;

#[cfg(feature = "faucet")]
use anyhow::Result;

#[cfg(feature = "faucet")]
Expand Down
1 change: 1 addition & 0 deletions v4-client-rs/client/examples/noble_transfer.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[cfg(feature = "noble")]
use anyhow::Result;

#[cfg(feature = "noble")]
Expand Down
4 changes: 3 additions & 1 deletion v4-client-rs/client/tests/env.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
use anyhow::{anyhow as err, Error, Result};
#[cfg(any(feature = "faucet", feature = "noble"))]
use anyhow::anyhow as err;
use anyhow::{Error, Result};
use chrono::{TimeDelta, Utc};
#[cfg(feature = "faucet")]
use dydx::faucet::FaucetClient;
Expand Down

0 comments on commit 3186585

Please sign in to comment.