[fix]: PyO3 macOS linking and consolidate on tracing for logging

This commit is contained in:
Simo Lin
2025-04-29 11:26:38 -07:00
committed by GitHub
parent 1468769bde
commit 771669cbe0
6 changed files with 55 additions and 77 deletions

View File

@@ -3,7 +3,6 @@ use actix_web::http::header::{HeaderValue, CONTENT_TYPE};
use actix_web::{HttpRequest, HttpResponse};
use bytes::Bytes;
use futures_util::{StreamExt, TryStreamExt};
use log::{debug, error, info, warn};
use serde_json::Value;
use std::collections::HashMap;
use std::fmt::Debug;
@@ -12,6 +11,7 @@ use std::sync::{Arc, Mutex, RwLock};
use std::thread;
use std::time::Duration;
use tokio;
use tracing::{debug, error, info, warn};
fn copy_request_headers(req: &HttpRequest) -> Vec<(String, String)> {
req.headers()

View File

@@ -6,12 +6,12 @@ use kube::{
runtime::WatchStreamExt,
Client,
};
use log::{error, info, warn};
use std::collections::{HashMap, HashSet};
use std::sync::{Arc, Mutex, RwLock};
use std::time::Duration;
use tokio::task;
use tokio::time;
use tracing::{error, info, warn};
/// Represents the service discovery configuration
#[derive(Debug, Clone)]

View File

@@ -1,6 +1,6 @@
use dashmap::mapref::entry::Entry;
use dashmap::DashMap;
use log::info;
use tracing::info;
use std::cmp::Reverse;
use std::collections::BinaryHeap;