瀏覽代碼

Make Uniffi Records Codable in Swift (#1125)

David Caseria 1 月之前
父節點
當前提交
f48660f344
共有 1 個文件被更改,包括 2 次插入0 次删除
  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