Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Upgrade to uniffi 0.29.0 #677

Merged
Merged
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
157 changes: 74 additions & 83 deletions bdk-ffi/Cargo.lock

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

6 changes: 3 additions & 3 deletions bdk-ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ bdk_core = { version = "0.4.1" }
bdk_esplora = { version = "0.20.1", default-features = false, features = ["std", "blocking", "blocking-https-rustls"] }
bdk_electrum = { version = "0.21.0", default-features = false, features = ["use-rustls-ring"] }

uniffi = { version = "=0.28.0" }
uniffi = { version = "=0.29.0" }
thiserror = "1.0.58"

[build-dependencies]
uniffi = { version = "=0.28.0", features = ["build"] }
uniffi = { version = "=0.29.0", features = ["build"] }

[dev-dependencies]
uniffi = { version = "=0.28.0", features = ["bindgen-tests"] }
uniffi = { version = "=0.29.0", features = ["bindgen-tests"] }
assert_matches = "1.5.0"

[profile.release-smaller]
Expand Down
6 changes: 5 additions & 1 deletion bdk-ffi/src/bdk.udl
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ interface TxidParseError {
// ------------------------------------------------------------------------

/// Types of keychains
[Remote]
enum KeychainKind {
/// External keychain, used for deriving recipient addresses.
"External",
Expand Down Expand Up @@ -473,6 +474,7 @@ interface FullScanScriptInspector {
};

/// A changeset for [`Wallet`].
[Remote]
interface ChangeSet {};

/// Options for a software signer.
Expand Down Expand Up @@ -529,6 +531,7 @@ dictionary SignOptions {
// ------------------------------------------------------------------------

/// Policy regarding the use of change outputs when creating a transaction
[Remote]
enum ChangeSpendPolicy {
/// Use both change and non-change outputs (default)
"ChangeAllowed",
Expand Down Expand Up @@ -1288,6 +1291,7 @@ interface AddressData {
// bdk_wallet crate - bitcoin re-exports
// ------------------------------------------------------------------------

[Remote]
enum WordCount {
"Words12",
"Words15",
Expand Down Expand Up @@ -1381,7 +1385,7 @@ interface Script {
sequence<u8> to_bytes();
};

[NonExhaustive]
[NonExhaustive, Remote]
enum Network {
"Bitcoin",
"Testnet",
Expand Down
Loading