Debian Codegraph @

third_party/rust/remote_settings/uniffi.toml

raw
1 [bindings.kotlin]
2 package_name = "mozilla.appservices.remotesettings"
3
4 [bindings.kotlin.custom_types.RsJsonObject]
5 # Name of the type in the Kotlin code
6 type_name = "JSONObject"
7 # Classes that need to be imported
8 imports = [ "org.json.JSONObject" ]
9 # Functions to convert between strings and JSON
10 into_custom = "JSONObject({})"
11 from_custom = "{}.toString()"
12
13 [bindings.swift]
14 ffi_module_name = "MozillaRustComponents"
15 ffi_module_filename = "remote_settingsFFI"