Skip to content

Commit

Permalink
chore: minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Jan 13, 2025
1 parent 96899b5 commit 5147a41
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/rs-dapi-client/src/transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use std::fmt::Debug;

#[cfg(not(target_arch = "wasm32"))]
pub use tonic_channel::{
create_channel, CoreGrpcClient, PlatformGrpcClient, TonicBackonSleeper as BackonSleeper,
create_channel, CoreGrpcClient, PlatformGrpcClient, TokioBackonSleeper as BackonSleeper,
};
#[cfg(target_arch = "wasm32")]
pub use wasm_channel::{
Expand Down
2 changes: 1 addition & 1 deletion packages/rs-dapi-client/src/transport/tonic_channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub type CoreGrpcClient = CoreClient<Channel>;

/// backon::Sleeper
// #[derive(Default, Clone, Debug)]
pub type TonicBackonSleeper = backon::TokioSleeper;
pub type TokioBackonSleeper = backon::TokioSleeper;

// impl backon::Sleeper for TonicBackonSleeper {
// type Sleep = <backon::TokioSleeper as backon::Sleeper>::Sleep;
Expand Down
1 change: 0 additions & 1 deletion packages/rs-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ test-case = { version = "3.3.1" }
assert_matches = "1.5.0"

[features]
# TODO make a way to enable "tokio/rt-multi-thread" if someone uses --no-default-features
default = ["mocks", "offline-testing", "dapi-grpc/client"]

mocks = [
Expand Down

0 comments on commit 5147a41

Please sign in to comment.