Skip to content

Commit c03d831

Browse files
Minor bindings tweak/fix bindings build (#40)
1 parent 0b166b1 commit c03d831

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

orange-sdk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ name = "orange_sdk"
1414

1515
[features]
1616
default = ["spark"]
17-
uniffi = ["dep:uniffi", "spark", "cashu"]
17+
uniffi = ["dep:uniffi", "spark", "cashu", "rand"]
1818
spark = ["breez-sdk-spark", "uuid", "serde_json"]
1919
cashu = ["cdk", "serde_json"]
2020
_test-utils = ["corepc-node", 'electrsd', "cashu", "uuid/v7", "rand"]

orange-sdk/src/ffi/ldk_node.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ impl From<Network> for LDKNetwork {
1919
}
2020

2121
#[derive(Debug, Clone, uniffi::Object)]
22+
#[uniffi::export(Display)]
2223
pub struct Mnemonic(pub LDKMnemonic);
2324

2425
#[uniffi::export]

0 commit comments

Comments
 (0)