Skip to content

refactor(core): allow custom protocol handler to resolve async #1418

refactor(core): allow custom protocol handler to resolve async

refactor(core): allow custom protocol handler to resolve async #1418

Triggered via pull request September 5, 2023 21:06
Status Success
Total duration 15s
Artifacts

check-license-header.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
function `format_result` is never used: core/tauri/src/ipc/format_callback.rs#L110
error: function `format_result` is never used --> core/tauri/src/ipc/format_callback.rs:110:8 | 110 | pub fn format_result<T: Serialize, E: Serialize>( | ^^^^^^^^^^^^^
function `format` is never used: core/tauri/src/ipc/format_callback.rs#L86
error: function `format` is never used --> core/tauri/src/ipc/format_callback.rs:86:8 | 86 | pub fn format<T: Serialize>(function_name: CallbackFn, arg: &T) -> crate::api::Result<String> { | ^^^^^^
function `serialize_js_with` is never used: core/tauri/src/ipc/format_callback.rs#L43
error: function `serialize_js_with` is never used --> core/tauri/src/ipc/format_callback.rs:43:4 | 43 | fn serialize_js_with<T: Serialize, F: FnOnce(&str) -> String>( | ^^^^^^^^^^^^^^^^^
constant `MIN_JSON_PARSE_LEN` is never used: core/tauri/src/ipc/format_callback.rs#L23
error: constant `MIN_JSON_PARSE_LEN` is never used --> core/tauri/src/ipc/format_callback.rs:23:7 | 23 | const MIN_JSON_PARSE_LEN: usize = 10_240; | ^^^^^^^^^^^^^^^^^^
constant `MAX_JSON_STR_LEN` is never used: core/tauri/src/ipc/format_callback.rs#L18
error: constant `MAX_JSON_STR_LEN` is never used --> core/tauri/src/ipc/format_callback.rs:18:7 | 18 | const MAX_JSON_STR_LEN: usize = usize::pow(2, 30) - 2; | ^^^^^^^^^^^^^^^^ | = note: `-D dead-code` implied by `-D warnings`
check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/