Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
*/

use super::Error;
use algokit_http_client::{DefaultHttpClient, HttpClient};
#[cfg(feature = "default_client")]
use algokit_http_client::DefaultHttpClient;

use algokit_http_client::HttpClient;

use std::sync::Arc;
{% if collect_parameter_enums(operations) %}
use super::parameter_enums::*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ serde_repr = "^0.1"
serde_bytes = "^0.11"

# HTTP client
algokit_http_client = { path = "../algokit_http_client", features = ["ffi_uniffi"] }
algokit_http_client = { path = "../algokit_http_client", default-features = false, features = ["ffi_uniffi"] }
url = "^2.5"

# Uniffi for FFI bindings
Expand Down
2 changes: 1 addition & 1 deletion crates/algod_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ serde_repr = "^0.1"
serde_bytes = "^0.11"

# HTTP client
algokit_http_client = { path = "../algokit_http_client", features = ["ffi_uniffi"] }
algokit_http_client = { path = "../algokit_http_client", default-features = false, features = ["ffi_uniffi"] }
url = "^2.5"

# Uniffi for FFI bindings
Expand Down
6 changes: 5 additions & 1 deletion crates/algod_client/src/apis/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
*/

use super::Error;
#[cfg(feature = "default_client")]
use algokit_http_client::DefaultHttpClient;

use algokit_http_client::HttpClient;

use super::parameter_enums::*;
use crate::models::{
AbortCatchup, Account, AccountApplicationInformation, AccountAssetInformation,
Expand All @@ -23,7 +28,6 @@ use crate::models::{
SimulateTransaction, StartCatchup, StateProof, TealCompile, TealDisassemble, TealDryrun,
TransactionParams, TransactionProof, UnknownJsonValue, Version, WaitForBlock,
};
use algokit_http_client::{DefaultHttpClient, HttpClient};
use std::sync::Arc;

/// The main Algod API client.
Expand Down
2 changes: 1 addition & 1 deletion crates/indexer_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ serde_repr = "^0.1"
serde_bytes = "^0.11"

# HTTP client
algokit_http_client = { path = "../algokit_http_client", features = ["ffi_uniffi"] }
algokit_http_client = { path = "../algokit_http_client", default-features = false, features = ["ffi_uniffi"] }
url = "^2.5"

# Uniffi for FFI bindings
Expand Down
6 changes: 5 additions & 1 deletion crates/indexer_client/src/apis/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
*/

use super::Error;
#[cfg(feature = "default_client")]
use algokit_http_client::DefaultHttpClient;

use algokit_http_client::HttpClient;

use super::parameter_enums::*;
use crate::models::{
Block, Box, HealthCheck, LookupAccountAppLocalStates, LookupAccountAssets, LookupAccountById,
Expand All @@ -19,7 +24,6 @@ use crate::models::{
SearchForApplications, SearchForAssets, SearchForBlockHeaders, SearchForTransactions,
UnknownJsonValue,
};
use algokit_http_client::{DefaultHttpClient, HttpClient};
use std::sync::Arc;

/// The main Indexer API client.
Expand Down
2 changes: 1 addition & 1 deletion crates/kmd_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ serde_repr = "^0.1"
serde_bytes = "^0.11"

# HTTP client
algokit_http_client = { path = "../algokit_http_client", features = ["ffi_uniffi"] }
algokit_http_client = { path = "../algokit_http_client", default-features = false, features = ["ffi_uniffi"] }
url = "^2.5"

# Uniffi for FFI bindings
Expand Down
6 changes: 5 additions & 1 deletion crates/kmd_client/src/apis/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
*/

use super::Error;
#[cfg(feature = "default_client")]
use algokit_http_client::DefaultHttpClient;

use algokit_http_client::HttpClient;

use crate::models::{
CreateWalletRequest, DeleteKeyRequest, DeleteKeyResponse, DeleteMultisigRequest,
DeleteMultisigResponse, ExportKeyRequest, ExportMasterKeyRequest, ExportMultisigRequest,
Expand All @@ -26,7 +31,6 @@ use crate::models::{
SignProgramMultisigRequest, SignProgramRequest, SignTransactionRequest, VersionsRequest,
VersionsResponse, WalletInfoRequest,
};
use algokit_http_client::{DefaultHttpClient, HttpClient};
use std::sync::Arc;

/// The main Kmd API client.
Expand Down