mirror of
https://github.com/OMGeeky/google_bigquery_v2.git
synced 2026-02-23 15:49:50 +01:00
remove tracing feature and just use tracing
it provides log with the needed stuff anyway
This commit is contained in:
@@ -17,9 +17,5 @@ async-trait = "0.1.68"
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
log = { version = "0.4" }
|
log = "0.4"
|
||||||
tracing = { version = "0.1", optional = true }
|
tracing = "0.1"
|
||||||
|
|
||||||
[features]
|
|
||||||
default = []
|
|
||||||
tracing = ["dep:tracing"]
|
|
||||||
|
|||||||
@@ -5,6 +5,5 @@ pub mod utils;
|
|||||||
|
|
||||||
pub mod re_exports {
|
pub mod re_exports {
|
||||||
pub use async_trait;
|
pub use async_trait;
|
||||||
pub use log;
|
|
||||||
pub use serde_json;
|
pub use serde_json;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,9 +5,4 @@ pub use crate::data::{BigQueryTable, BigQueryTableBase, OrderDirection};
|
|||||||
|
|
||||||
pub type Result<T> = std::result::Result<T, Box<dyn std::error::Error + Send + Sync>>;
|
pub type Result<T> = std::result::Result<T, Box<dyn std::error::Error + Send + Sync>>;
|
||||||
|
|
||||||
#[cfg(not(feature = "tracing"))]
|
|
||||||
pub use log::{debug, error, info, trace, warn};
|
|
||||||
#[cfg(feature = "tracing")]
|
|
||||||
pub use tracing::{debug, error, info, trace, warn};
|
pub use tracing::{debug, error, info, trace, warn};
|
||||||
|
|
||||||
pub use log::LevelFilter;
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
use log::LevelFilter;
|
||||||
use nameof::name_of;
|
use nameof::name_of;
|
||||||
|
|
||||||
use google_bigquery_v2::data::query_builder::QueryResultType;
|
use google_bigquery_v2::data::query_builder::QueryResultType;
|
||||||
|
|||||||
Reference in New Issue
Block a user