Skip to content

Commit

Permalink
feat(d14n): d14n api wrapper (#1648)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Andrew Plaza <[email protected]>
  • Loading branch information
mchenani and insipx authored Feb 27, 2025
1 parent fb4fb04 commit 6ee8970
Show file tree
Hide file tree
Showing 32 changed files with 1,482 additions and 263 deletions.
23 changes: 23 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions common/src/retry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ use std::sync::{
Arc,
};

#[cfg(not(target_arch = "wasm32"))]
pub type BoxedRetry = Retry<Box<dyn Strategy + Send + Sync>, Box<dyn Strategy + Send + Sync>>;

#[cfg(target_arch = "wasm32")]
pub type BoxedRetry = Retry<Box<dyn Strategy>, Box<dyn Strategy>>;

pub struct NotSpecialized;
Expand Down
2 changes: 1 addition & 1 deletion xmtp_api_d14n/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ parking_lot.workspace = true
prost.workspace = true
prost-types.workspace = true
xmtp_common.workspace = true
xmtp_proto.workspace = true
xmtp_proto = { workspace = true, features = ["convert"] }

[dev-dependencies]
xmtp_api_grpc.workspace = true
Expand Down
Loading

0 comments on commit 6ee8970

Please sign in to comment.