Bump to 0.8.0 #90
Annotations
14 warnings
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
this seems like a manual implementation of the non-exhaustive pattern:
src/lib.rs#L71
warning: this seems like a manual implementation of the non-exhaustive pattern
--> src/lib.rs:71:1
|
71 | pub enum Error {
| ^-------------
| |
| _help: add the attribute: `#[non_exhaustive] pub enum Error`
| |
72 | | BadStartBit,
73 | | BadStopBit,
74 | | ParityError,
... |
77 | | InvalidState,
78 | | }
| |_^
|
help: remove this variant
--> src/lib.rs:77:5
|
77 | InvalidState,
| ^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_non_exhaustive
= note: `#[warn(clippy::manual_non_exhaustive)]` on by default
|
you should consider adding a `Default` implementation for `Ps2Decoder`:
src/lib.rs#L575
warning: you should consider adding a `Default` implementation for `Ps2Decoder`
--> src/lib.rs:575:5
|
575 | / pub const fn new() -> Ps2Decoder {
576 | | Ps2Decoder {
577 | | register: 0,
578 | | num_bits: 0,
579 | | }
580 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
help: try adding this
|
573 + impl Default for Ps2Decoder {
574 + fn default() -> Self {
575 + Self::new()
576 + }
577 + }
|
|
you should consider adding a `Default` implementation for `ScancodeSet2`:
src/scancodes/set2.rs#L18
warning: you should consider adding a `Default` implementation for `ScancodeSet2`
--> src/scancodes/set2.rs:18:5
|
18 | / pub const fn new() -> ScancodeSet2 {
19 | | ScancodeSet2 {
20 | | state: DecodeState::Start,
21 | | }
22 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
help: try adding this
|
16 + impl Default for ScancodeSet2 {
17 + fn default() -> Self {
18 + Self::new()
19 + }
20 + }
|
|
you should consider adding a `Default` implementation for `ScancodeSet1`:
src/scancodes/set1.rs#L17
warning: you should consider adding a `Default` implementation for `ScancodeSet1`
--> src/scancodes/set1.rs:17:5
|
17 | / pub const fn new() -> ScancodeSet1 {
18 | | ScancodeSet1 {
19 | | state: DecodeState::Start,
20 | | }
21 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
15 + impl Default for ScancodeSet1 {
16 + fn default() -> Self {
17 + Self::new()
18 + }
19 + }
|
|
this seems like a manual implementation of the non-exhaustive pattern:
src/lib.rs#L71
warning: this seems like a manual implementation of the non-exhaustive pattern
--> src/lib.rs:71:1
|
71 | pub enum Error {
| ^-------------
| |
| _help: add the attribute: `#[non_exhaustive] pub enum Error`
| |
72 | | BadStartBit,
73 | | BadStopBit,
74 | | ParityError,
... |
77 | | InvalidState,
78 | | }
| |_^
|
help: remove this variant
--> src/lib.rs:77:5
|
77 | InvalidState,
| ^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_non_exhaustive
= note: `#[warn(clippy::manual_non_exhaustive)]` on by default
|
you should consider adding a `Default` implementation for `Ps2Decoder`:
src/lib.rs#L575
warning: you should consider adding a `Default` implementation for `Ps2Decoder`
--> src/lib.rs:575:5
|
575 | / pub const fn new() -> Ps2Decoder {
576 | | Ps2Decoder {
577 | | register: 0,
578 | | num_bits: 0,
579 | | }
580 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
help: try adding this
|
573 + impl Default for Ps2Decoder {
574 + fn default() -> Self {
575 + Self::new()
576 + }
577 + }
|
|
you should consider adding a `Default` implementation for `ScancodeSet2`:
src/scancodes/set2.rs#L18
warning: you should consider adding a `Default` implementation for `ScancodeSet2`
--> src/scancodes/set2.rs:18:5
|
18 | / pub const fn new() -> ScancodeSet2 {
19 | | ScancodeSet2 {
20 | | state: DecodeState::Start,
21 | | }
22 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
help: try adding this
|
16 + impl Default for ScancodeSet2 {
17 + fn default() -> Self {
18 + Self::new()
19 + }
20 + }
|
|
you should consider adding a `Default` implementation for `ScancodeSet1`:
src/scancodes/set1.rs#L17
warning: you should consider adding a `Default` implementation for `ScancodeSet1`
--> src/scancodes/set1.rs:17:5
|
17 | / pub const fn new() -> ScancodeSet1 {
18 | | ScancodeSet1 {
19 | | state: DecodeState::Start,
20 | | }
21 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
15 + impl Default for ScancodeSet1 {
16 + fn default() -> Self {
17 + Self::new()
18 + }
19 + }
|
|