forked from mozilla/application-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuniffi.toml
21 lines (18 loc) · 826 Bytes
/
uniffi.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[bindings.kotlin]
package_name = "org.mozilla.experiments.nimbus.internal"
[bindings.kotlin.custom_types.JsonObject]
# 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 URLs
into_custom = "JSONObject({})"
from_custom = "{}.toString()"
[bindings.swift]
ffi_module_name = "MozillaRustComponents"
ffi_module_filename = "nimbusFFI"
[bindings.python]
# This can be commented out, and the `--library` argument of `bindgen-uniffi` should be used instead.
# We won't comment this out until cirrus— which a) does not use `--library` b) is not in this repo— uses the pre-built
# binaries built by `server-megazord-build.py`. Until then, it comments out the line programmatically.
cdylib_name = "cirrus"