gecko-dev/third_party/rust/remote_settings/uniffi.toml

19 строки
515 B
TOML

[bindings.kotlin]
package_name = "mozilla.appservices.remotesettings"
cdylib_name = "megazord"
[bindings.kotlin.custom_types.RsJsonObject]
# Name of the type in the Kotlin code
type_name = "JSONObject"
# Classes that need to be imported
imports = [ "org.json.JSONObject" ]
# Functions to convert between strings and JSON
into_custom = "JSONObject({})"
from_custom = "{}.toString()"
[bindings.swift]
ffi_module_name = "MozillaRustComponents"
ffi_module_filename = "remote_settingsFFI"
generate_module_map = false