Skip to content

Commit 6ee8970

Browse files
mchenaniinsipx
andauthored
feat(d14n): d14n api wrapper (#1648)
--------- Co-authored-by: Andrew Plaza <github@andrewplaza.dev>
1 parent fb4fb04 commit 6ee8970

32 files changed

+1482
-263
lines changed

Cargo.lock

+23
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

common/src/retry.rs

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ use std::sync::{
2424
Arc,
2525
};
2626

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

2933
pub struct NotSpecialized;

xmtp_api_d14n/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ parking_lot.workspace = true
1212
prost.workspace = true
1313
prost-types.workspace = true
1414
xmtp_common.workspace = true
15-
xmtp_proto.workspace = true
15+
xmtp_proto = { workspace = true, features = ["convert"] }
1616

1717
[dev-dependencies]
1818
xmtp_api_grpc.workspace = true

0 commit comments

Comments
 (0)