Remove debug features
This commit is contained in:
parent
6b94673dd9
commit
8ad9781a3f
@ -61,8 +61,6 @@ default = [
|
|||||||
"with-chrono",
|
"with-chrono",
|
||||||
"with-rust_decimal",
|
"with-rust_decimal",
|
||||||
"with-uuid",
|
"with-uuid",
|
||||||
"runtime-tokio-rustls",#debug
|
|
||||||
"sqlx-all",#debug
|
|
||||||
]
|
]
|
||||||
macros = ["sea-orm-macros"]
|
macros = ["sea-orm-macros"]
|
||||||
mock = []
|
mock = []
|
||||||
|
@ -596,9 +596,8 @@ pub fn test(_: TokenStream, input: TokenStream) -> TokenStream {
|
|||||||
#[test]
|
#[test]
|
||||||
#(#attrs)*
|
#(#attrs)*
|
||||||
fn #name() #ret {
|
fn #name() #ret {
|
||||||
let _ = ::env_logger::builder()
|
let _ = ::tracing_subscriber::fmt()
|
||||||
.filter_level(::log::LevelFilter::Debug)
|
.with_max_level(::tracing::Level::DEBUG)
|
||||||
.is_test(true)
|
|
||||||
.try_init();
|
.try_init();
|
||||||
crate::block_on!(async { #body })
|
crate::block_on!(async { #body })
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user