Backed out 5 changesets (bug 1890092, bug 1888683) for causing build bustages & crash...
[gecko.git] / toolkit / components / uniffi-bindgen-gecko-js / config.toml
blob7b7943dfbdcfba1250806e35aab0c210a371e42b
1 # Configure UniFFI sources
3 # Each key is the UDL namespace of the component.
6 # IMPORTANT: Please Request review from a DOM peer before
7 # committing to using UniFFI. There are other ways to consume Rust from
8 # JavaScript that might fit your use case better.
10 # TODO: Upgrade the TOML crate and switch to array of tables syntax.
12 [sync15]
13 crate_name = "sync15"
14 udl_file = "third_party/rust/sync15/src/sync15.udl"
16 [tabs]
17 crate_name = "tabs"
18 udl_file = "third_party/rust/tabs/src/tabs.udl"
20 [suggest]
21 crate_name = "suggest"
22 udl_file = "third_party/rust/suggest/src/suggest.udl"
24 [suggest.receiver_thread]
25 default = "worker"
26 main = [
27   "raw_suggestion_url_matches",
28   "SuggestStore",
29   "SuggestStore.interrupt",
32 [relevancy]
33 crate_name = "relevancy"
34 udl_file = "third_party/rust/relevancy/src/relevancy.udl"
36 [relevancy.receiver_thread]
37 default = "worker"
38 main = []
40 [remote_settings]
41 crate_name = "remote_settings"
42 udl_file = "third_party/rust/remote_settings/src/remote_settings.udl"
44 [remote_settings.receiver_thread]
45 default = "worker"
46 main = [
47   "RemoteSettings",
50 [geometry]
51 crate_name = "uniffi_geometry"
52 udl_file = "third_party/rust/uniffi-example-geometry/src/geometry.udl"
53 fixture = true
55 [arithmetic]
56 crate_name = "arithmetical"
57 udl_file = "third_party/rust/uniffi-example-arithmetic/src/arithmetic.udl"
58 fixture = true
60 [rondpoint]
61 crate_name = "uniffi_rondpoint"
62 udl_file = "third_party/rust/uniffi-example-rondpoint/src/rondpoint.udl"
63 fixture = true
65 [sprites]
66 crate_name = "uniffi_sprites"
67 udl_file = "third_party/rust/uniffi-example-sprites/src/sprites.udl"
68 fixture = true
70 [todolist]
71 crate_name = "uniffi_todolist"
72 udl_file = "third_party/rust/uniffi-example-todolist/src/todolist.udl"
73 fixture = true
75 [fixture_callbacks]
76 crate_name = "uniffi_fixture_callbacks"
77 udl_file = "toolkit/components/uniffi-fixture-callbacks/src/callbacks.udl"
78 fixture = true
80 [fixture_callbacks.receiver_thread]
81 default = "worker"
82 main = [
83   "log_even_numbers_main_thread",
86 [custom_types]
87 crate_name = "uniffi_custom_types"
88 udl_file = "toolkit/components/uniffi-example-custom-types/src/custom-types.udl"
89 fixture = true
91 [external_types]
92 crate_name = "uniffi_fixture_external_types"
93 udl_file = "toolkit/components/uniffi-fixture-external-types/src/external-types.udl"
94 fixture = true