File: config.toml

package info (click to toggle)
thunderbird 1%3A143.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 4,703,968 kB
  • sloc: cpp: 7,770,492; javascript: 5,943,842; ansic: 3,918,754; python: 1,418,263; xml: 653,354; asm: 474,045; java: 183,079; sh: 111,238; makefile: 20,410; perl: 14,359; objc: 13,059; yacc: 4,583; pascal: 3,405; lex: 1,720; ruby: 999; exp: 762; sql: 715; awk: 580; php: 436; lisp: 430; sed: 69; csh: 10
file content (162 lines) | stat: -rw-r--r-- 5,422 bytes parent folder | download | duplicates (2)
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# 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.

[context_id.async_wrappers]
ContextIDComponent = "AsyncWrapped"
"ContextIDComponent.new" = "Sync"
"ContextIdCallback.persist" = "FireAndForget"
"ContextIdCallback.rotated" = "FireAndForget"

[filter_adult.async_wrappers]
"FilterAdultComponent.new" = "Sync"
"FilterAdultComponent.contains" = "Sync"

[search.async_wrappers]
SearchEngineSelector = "Sync"
"SearchEngineSelector.use_remote_settings_server" = "AsyncWrapped"

[suggest.async_wrappers]
SuggestStore = "AsyncWrapped"
"SuggestStore.interrupt" = "Sync"
"SuggestStore.new" = "Sync"
"SuggestStoreBuilder.build" = "Sync"
"SuggestStoreBuilder.cache_path" = "AsyncWrapped"
"SuggestStoreBuilder.data_path" = "Sync"
"SuggestStoreBuilder.load_extension" = "Sync"
"SuggestStoreBuilder.new" = "Sync"
"SuggestStoreBuilder.remote_settings_bucket_name" = "Sync"
"SuggestStoreBuilder.remote_settings_server" = "Sync"
"SuggestStoreBuilder.remote_settings_service" = "Sync"
"raw_suggestion_url_matches" = "Sync"

[relevancy.async_wrappers]
"score" = "Sync"
RelevancyStore = "Sync"
"RelevancyStore.bandit_init" = "AsyncWrapped"
"RelevancyStore.bandit_select" = "AsyncWrapped"
"RelevancyStore.bandit_update" = "AsyncWrapped"
"RelevancyStore.ensure_interest_data_populated" = "AsyncWrapped"
"RelevancyStore.get_bandit_data" = "AsyncWrapped"
"RelevancyStore.ingest" = "AsyncWrapped"
"RelevancyStore.user_interest_vector" = "AsyncWrapped"

[remote_settings.async_wrappers]
RemoteSettings = "AsyncWrapped"
"RemoteSettings.new" = "Sync"
"RemoteSettingsService.new" = "Sync"
"RemoteSettingsService.update_config" = "Sync"
"RemoteSettingsService.make_client" = "AsyncWrapped"
"RemoteSettingsService.sync" = "AsyncWrapped"
RemoteSettingsClient = "AsyncWrapped"

[error_support.async_wrappers]
"set_application_error_reporter" = "AsyncWrapped"
"unset_application_error_reporter" = "AsyncWrapped"
"ApplicationErrorReporter.report_error" = "FireAndForget"
"ApplicationErrorReporter.report_breadcrumb" = "FireAndForget"

[tabs.async_wrappers]
RemoteCommandStore = "AsyncWrapped"
TabsBridgedEngine = "AsyncWrapped"
TabsStore = "AsyncWrapped"

[webext_storage.async_wrappers]
WebExtStorageBridgedEngine = "AsyncWrapped"
WebExtStorageStore = "AsyncWrapped"

[tracing_support.async_wrappers]
"register_event_sink" = "Sync"
"unregister_event_sink" = "Sync"
"register_min_level_event_sink" = "Sync"
"unregister_min_level_event_sink" = "Sync"

[uniffi_bindings_tests.async_wrappers]
"clone_interface" = "Sync"
"create_async_test_trait_interface" = "AsyncWrapped"
"create_test_trait_interface" = "Sync"
"func_with_default" = "Sync"
"func_with_error" = "Sync"
"func_with_flat_error" = "Sync"
"func_with_multi_word_arg" = "Sync"
"get_custom_types_demo" = "AsyncWrapped"
"invoke_test_callback_interface_get_value" = "AsyncWrapped"
"invoke_test_callback_interface_noop" = "AsyncWrapped"
"invoke_test_callback_interface_set_value" = "AsyncWrapped"
"invoke_test_callback_interface_throw_if_equal" = "AsyncWrapped"
"invoke_test_trait_interface_get_value" = "Sync"
"invoke_test_trait_interface_noop" = "Sync"
"invoke_test_trait_interface_set_value" = "Sync"
"invoke_test_trait_interface_throw_if_equal" = "Sync"
"roundtrip_bool" = "Sync"
"roundtrip_complex_compound" = "Sync"
"roundtrip_complex_enum" = "Sync"
"roundtrip_complex_rec" = "Sync"
"roundtrip_custom_type" = "Sync"
"roundtrip_enum_no_data" = "Sync"
"roundtrip_enum_with_data" = "Sync"
"roundtrip_f32" = "Sync"
"roundtrip_f64" = "Sync"
"roundtrip_hash_map" = "Sync"
"roundtrip_i16" = "Sync"
"roundtrip_i32" = "Sync"
"roundtrip_i64" = "Sync"
"roundtrip_i8" = "Sync"
"roundtrip_option" = "Sync"
"roundtrip_simple_rec" = "AsyncWrapped"
"roundtrip_string" = "Sync"
"roundtrip_time_interval_ms" = "AsyncWrapped"
"roundtrip_time_interval_sec_dbl" = "AsyncWrapped"
"roundtrip_time_interval_sec_flt" = "AsyncWrapped"
"roundtrip_u16" = "Sync"
"roundtrip_u32" = "Sync"
"roundtrip_u64" = "Sync"
"roundtrip_u8" = "Sync"
"roundtrip_url" = "AsyncWrapped"
"roundtrip_vec" = "Sync"
"sum_with_many_types" = "Sync"
"swap_test_interfaces" = "Sync"
"test_func" = "Sync"
"TestInterface.new" = "Sync"
"TestInterface.get_value" = "Sync"
"TestInterface.ref_count" = "Sync"
"AsyncInterface.new" = "Sync"
"ComplexMethods.new" = "Sync"
"ComplexMethods.method_with_default" = "Sync"
"ComplexMethods.method_with_multi_word_arg" = "Sync"
TestCallbackInterface = "FireAndForget"
TestTraitInterface = "Sync"

[uniffi_bindings_tests_collision.async_wrappers]
"invoke_collision_callback" = "Sync"
TestCallbackInterface = "FireAndForget"

[uniffi_bindings_tests_external_types.async_wrappers]
"roundtrip_ext_custom_type" = "Sync"
"roundtrip_ext_enum" = "Sync"
"roundtrip_ext_interface" = "Sync"
"roundtrip_ext_record" = "Sync"

[uniffi_bindings_tests.custom_types.Url]
type_name = "URL"
lift = "new URL({})"
lower = "{}.toString()"

[uniffi_bindings_tests.custom_types.TimeIntervalMs]
# Convert milliseconds to Date
type_name = "Date"
lift = "new Date({})"
lower = "{}.getTime()"

[uniffi_bindings_tests.custom_types.TimeIntervalSecDbl]
# Convert seconds (as float) to Date
type_name = "Date"
lift = "new Date({} * 1000)"
lower = "{}.getTime() / 1000"