Fix P1 Rust: use dd0c_route:: instead of crate:: in binary imports, add hex crate
Some checks failed
CI — P1 Route (Rust) / test (push) Failing after 4m37s
Some checks failed
CI — P1 Route (Rust) / test (push) Failing after 4m37s
Binary targets (api, proxy, worker) can't use crate:: to access lib modules. Must reference the library crate name dd0c_route:: instead.
This commit is contained in:
@@ -9,8 +9,8 @@ use serde::{Deserialize, Serialize};
|
||||
use std::sync::Arc;
|
||||
use uuid::Uuid;
|
||||
|
||||
use crate::auth::{AuthContext, AuthError, AuthProvider, Role};
|
||||
use crate::config::AppConfig;
|
||||
use dd0c_route::auth::{AuthContext, AuthError, AuthProvider, Role};
|
||||
use dd0c_route::config::AppConfig;
|
||||
|
||||
pub struct ApiState {
|
||||
pub auth: Arc<dyn AuthProvider>,
|
||||
|
||||
Reference in New Issue
Block a user