Skip to content

Commit

Permalink
Depend on our patched oneshot carte (mozilla#1736)
Browse files Browse the repository at this point in the history
This avoids pulling in the loom dependency.
  • Loading branch information
bendk committed Dec 6, 2023
1 parent f2353fc commit da78f9d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 191 deletions.
196 changes: 6 additions & 190 deletions Cargo.lock

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

4 changes: 3 additions & 1 deletion uniffi_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ bytes = "1.3"
camino = "1.0.8"
log = "0.4"
once_cell = "1.10.0"
# Use the `oneshot-uniffi` crate to get our `oneshot` dependency.
# That crate is a fork of `oneshot` that removes the `loom` target/dependency, which makes it easier to vendor UniFFI into the mozilla-central repository.
# Enable "async" so that receivers implement Future, no need for "std" since we don't block on them.
oneshot = { version = "0.1", features = ["async"] }
oneshot = { package = "oneshot-uniffi", version = "0.1.5", features = ["async"] }
# Regular dependencies
paste = "1.0"
static_assertions = "1.1.0"
Expand Down

0 comments on commit da78f9d

Please sign in to comment.