Browse Source

Make Uniffi Records Codable in Swift (#1125)

David Caseria 1 tháng trước cách đây
mục cha
commit
f48660f344
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      crates/cdk-ffi/uniffi.toml

+ 2 - 0
crates/cdk-ffi/uniffi.toml

@@ -8,3 +8,5 @@ cdylib_name = "cdk_ffi"
 [bindings.swift]
 module_name = "CashuDevKit"
 cdylib_name = "cdk_ffi"
+generate_codable_conformance = true
+generate_immutable_records = true