Add GetUsers rpc to protobuff #200
check_format.yml
on: push
cargo fmt
21s
Clippy lint and check
1m 8s
Annotations
2 errors and 2 warnings
unresolved import `crate::api::ecdar_api::handle_session`:
src/api/../tests/api/session_logic.rs#L2
error[E0432]: unresolved import `crate::api::ecdar_api::handle_session`
--> src/api/../tests/api/session_logic.rs:2:35
|
2 | use crate::api::{auth::TokenType, ecdar_api::handle_session};
| ^^^^^^^^^^^^^^^^^^^^^^^^^ no `handle_session` in `api::ecdar_api`
|
Clippy lint and check
Clippy has exited with exit code 101
|
methods `as_str` and `token_type` are never used:
src/api/auth.rs#L206
warning: methods `as_str` and `token_type` are never used
--> src/api/auth.rs:206:12
|
84 | impl Token {
| ---------- methods in this implementation
...
206 | pub fn as_str(&self) -> &str {
| ^^^^^^
...
220 | pub fn token_type(&self) -> TokenType {
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
module has the same name as its containing module:
src/api/server.rs#L12
warning: module has the same name as its containing module
--> src/api/server.rs:12:1
|
12 | / pub mod server {
13 | | tonic::include_proto!("ecdar_proto_buf");
14 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
= note: `#[warn(clippy::module_inception)]` on by default
|