auth-server: Add management key and gate key management API #221
Annotations
8 errors and 22 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/server/api_auth.rs#L19
error: this argument is passed by value, but not consumed in the function body
--> auth/auth-server/src/server/api_auth.rs:19:15
|
19 | path: FullPath,
| ^^^^^^^^ help: consider taking a reference instead: `&FullPath`
|
= 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`
|
unused import: `filters::path::FullPath`:
auth/auth-server/src/main.rs#L33
error: unused import: `filters::path::FullPath`
--> auth/auth-server/src/main.rs:33:12
|
33 | use warp::{filters::path::FullPath, Filter, Rejection, Reply};
| ^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `serde::Deserialize`:
auth/auth-server/src/main.rs#L26
error: unused import: `serde::Deserialize`
--> auth/auth-server/src/main.rs:26:5
|
26 | use serde::Deserialize;
| ^^^^^^^^^^^^^^^^^^
|
unused import: `http::HeaderMap`:
auth/auth-server/src/main.rs#L23
error: unused import: `http::HeaderMap`
--> auth/auth-server/src/main.rs:23:5
|
23 | use http::HeaderMap;
| ^^^^^^^^^^^^^^^
|
unused import: `bytes::Bytes`:
auth/auth-server/src/main.rs#L21
error: unused import: `bytes::Bytes`
--> auth/auth-server/src/main.rs:21:5
|
21 | use bytes::Bytes;
| ^^^^^^^^^^^^
|
unused import: `CreateApiKeyRequest`:
auth/auth-server/src/main.rs#L20
error: unused import: `CreateApiKeyRequest`
--> auth/auth-server/src/main.rs:20:23
|
20 | use auth_server_api::{CreateApiKeyRequest, API_KEYS_PATH};
| ^^^^^^^^^^^^^^^^^^^
|
unused import: `serde::Serialize`:
auth/auth-server/src/server/api_auth.rs#L7
error: unused import: `serde::Serialize`
--> auth/auth-server/src/server/api_auth.rs:7:5
|
7 | use serde::Serialize;
| ^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
cargo-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
cargo-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, arduino/setup-protoc@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
cargo-test
#[table_name] attribute form is deprecated
|
cargo-test
#[table_name] attribute form is deprecated
|
cargo-test
#[sql_type] attribute form is deprecated
|
cargo-test
#[sql_type] attribute form is deprecated
|
cargo-test
#[sql_type] attribute form is deprecated
|
cargo-test
#[sql_type] attribute form is deprecated
|
cargo-test
#[sql_type] attribute form is deprecated
|
cargo-test
#[sql_type] attribute form is deprecated
|
cargo-test
#[sql_type] attribute form is deprecated
|
cargo-test
#[sql_type] attribute form is deprecated
|
cargo-test
#[table_name] attribute form is deprecated
|
cargo-test
#[table_name] attribute form is deprecated
|
cargo-test
#[sql_type] attribute form is deprecated
|
cargo-test
#[sql_type] attribute form is deprecated
|
cargo-test
#[sql_type] attribute form is deprecated
|
cargo-test
#[sql_type] attribute form is deprecated
|
cargo-test
#[sql_type] attribute form is deprecated
|
cargo-test
#[sql_type] attribute form is deprecated
|
cargo-test
#[sql_type] attribute form is deprecated
|
cargo-test
#[sql_type] attribute form is deprecated
|