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

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:
2026-03-01 16:08:25 +00:00
parent 5346e88331
commit b5e5d22c32
3 changed files with 9 additions and 8 deletions

View File

@@ -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>,