auth: auth-server: Define key management API #210
Annotations
4 errors and 6 warnings
unused `async` for function with no await statements:
price-reporter/src/main.rs#L94
error: unused `async` for function with no await statements
--> price-reporter/src/main.rs:94:1
|
94 | / async fn init_default_price_streams(
95 | | global_price_streams: &GlobalPriceStreams,
96 | | config: ExchangeConnectionsConfig,
97 | | ) -> Result<(), ServerError> {
... |
122 | | Ok(())
123 | | }
| |_^
|
= help: consider removing the `async` from this function
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_async
= note: requested on the command line with `-D clippy::unused-async`
|
this argument is passed by value, but not consumed in the function body:
auth/auth-server/src/error.rs#L33
error: this argument is passed by value, but not consumed in the function body
--> auth/auth-server/src/error.rs:33:41
|
33 | pub fn decryption<T: ToString>(msg: T) -> Self {
| ^ help: consider taking a reference instead: `&T`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
|
this argument is passed by value, but not consumed in the function body:
auth/auth-server/src/error.rs#L28
error: this argument is passed by value, but not consumed in the function body
--> auth/auth-server/src/error.rs:28:41
|
28 | pub fn encryption<T: ToString>(msg: T) -> Self {
| ^ help: consider taking a reference instead: `&T`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
|
this argument is passed by value, but not consumed in the function body:
auth/auth-server/src/error.rs#L23
error: this argument is passed by value, but not consumed in the function body
--> auth/auth-server/src/error.rs:23:33
|
23 | pub fn db<T: ToString>(msg: T) -> Self {
| ^ help: consider taking a reference instead: `&T`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
= note: requested on the command line with `-D clippy::needless-pass-by-value`
|
format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
|
format
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, 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/
|
format
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/
|
format
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/
|
format
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/
|
format
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/
|