blob: d8404f51428e566473af1fcf5c0be8c0f5af42fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
# Configure UniFFI sources
#
# Each key is the UDL namespace of the component.
#
#
# IMPORTANT: Please Request review from a DOM peer before
# committing to using UniFFI. There are other ways to consume Rust from
# JavaScript that might fit your use case better.
# TODO: Upgrade the TOML crate and switch to array of tables syntax.
[sync15]
crate_name = "sync15"
udl_file = "third_party/rust/sync15/src/sync15.udl"
[tabs]
crate_name = "tabs"
udl_file = "third_party/rust/tabs/src/tabs.udl"
[suggest]
crate_name = "suggest"
udl_file = "third_party/rust/suggest/src/suggest.udl"
[suggest.receiver_thread]
default = "worker"
main = [
"raw_suggestion_url_matches",
"SuggestStore",
"SuggestStore.interrupt",
]
[relevancy]
crate_name = "relevancy"
udl_file = "third_party/rust/relevancy/src/relevancy.udl"
[relevancy.receiver_thread]
default = "worker"
main = []
[remote_settings]
crate_name = "remote_settings"
udl_file = "third_party/rust/remote_settings/src/remote_settings.udl"
[remote_settings.receiver_thread]
default = "worker"
main = [
"RemoteSettings",
]
[geometry]
crate_name = "uniffi_geometry"
udl_file = "third_party/rust/uniffi-example-geometry/src/geometry.udl"
fixture = true
[arithmetic]
crate_name = "arithmetical"
udl_file = "third_party/rust/uniffi-example-arithmetic/src/arithmetic.udl"
fixture = true
[rondpoint]
crate_name = "uniffi_rondpoint"
udl_file = "third_party/rust/uniffi-example-rondpoint/src/rondpoint.udl"
fixture = true
[sprites]
crate_name = "uniffi_sprites"
udl_file = "third_party/rust/uniffi-example-sprites/src/sprites.udl"
fixture = true
[todolist]
crate_name = "uniffi_todolist"
udl_file = "third_party/rust/uniffi-example-todolist/src/todolist.udl"
fixture = true
[fixture_refcounts]
crate_name = "uniffi_fixture_refcounts"
udl_file = "toolkit/components/uniffi-fixture-refcounts/src/refcounts.udl"
fixture = true
[fixture_refcounts.receiver_thread]
default = "main"
# Temporarily disabled until we can re-enable callback support
#
# I think this can be done when we implement https://bugzilla.mozilla.org/show_bug.cgi?id=1888668
# [fixture_callbacks]
# crate_name = "uniffi_fixture_callbacks"
# udl_file = "toolkit/components/uniffi-fixture-callbacks/src/callbacks.udl"
# fixture = true
#
# [fixture_callbacks.receiver_thread]
# default = "worker"
# main = [
# "log_even_numbers_main_thread",
# ]
[custom_types]
crate_name = "uniffi_custom_types"
udl_file = "toolkit/components/uniffi-example-custom-types/src/custom-types.udl"
fixture = true
[external_types]
crate_name = "uniffi_fixture_external_types"
udl_file = "toolkit/components/uniffi-fixture-external-types/src/external-types.udl"
fixture = true
|