fix channel usage #4733
Annotations
5 errors and 2 warnings
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`
|
audit-js
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/
|
audit-rust
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/audit-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|