summaryrefslogtreecommitdiffstats
path: root/third_party/rust/remote_settings/uniffi.toml
blob: 45f6b904dcbea48151b772ed355f4f324bc36b36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[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