chore(deps): bump the prod group in /src-tauri with 2 updates #35
ci-rs.yml
on: pull_request
Setup rust, clippy and rustfmt
2m 49s
Annotations
6 warnings
Setup rust, clippy and rustfmt
fields `last_used_by` and `queue` are never read
|
Setup rust, clippy and rustfmt
associated items `from_json`, `add_profile`, and `get_profile` are never used
|
Setup rust, clippy and rustfmt
type `DeviceType` is more private than the item `ProfileManager::update_active_profile_settings`
|
type `profiles::DeviceType` is more private than the item `profiles::ProfileManager::update_active_profile_settings`:
src-tauri/src/profiles/mod.rs#L136
warning: type `profiles::DeviceType` is more private than the item `profiles::ProfileManager::update_active_profile_settings`
--> ./src-tauri/src/profiles/mod.rs:136:3
|
136 | / pub fn update_active_profile_settings(
137 | | &mut self,
138 | | device: DeviceType,
139 | | device_trigger: DeviceTrigger,
140 | | ) {
| |___^ method `profiles::ProfileManager::update_active_profile_settings` is reachable at visibility `pub(crate)`
|
note: but type `profiles::DeviceType` is only usable at visibility `pub(self)`
--> src/profiles/mod.rs:11:1
|
11 | enum DeviceType {
| ^^^^^^^^^^^^^^^
= note: `#[warn(private_interfaces)]` on by default
|
associated items `from_json`, `add_profile`, and `get_profile` are never used:
src-tauri/src/profiles/mod.rs#L93
warning: associated items `from_json`, `add_profile`, and `get_profile` are never used
--> ./src-tauri/src/profiles/mod.rs:93:10
|
84 | impl ProfileManager {
| ------------------- associated items in this implementation
...
93 | pub fn from_json(json: &str) -> Self {
| ^^^^^^^^^
...
121 | fn add_profile(&mut self, profile: Profile) {
| ^^^^^^^^^^^
...
125 | fn get_profile(&self, name: &str) -> Option<&Profile> {
| ^^^^^^^^^^^
|
fields `last_used_by` and `queue` are never read:
src-tauri/src/lib.rs#L14
warning: fields `last_used_by` and `queue` are never read
--> ./src-tauri/src/lib.rs:14:3
|
13 | struct AppState {
| -------- fields in this struct
14 | last_used_by: String,
| ^^^^^^^^^^^^
15 | queue: Vec<String>,
| ^^^^^
|
= note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
|