浏览代码

Make Uniffi Records Codable in Swift (#1125)

David Caseria 3 月之前
父节点
当前提交
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