Remove debug features

This commit is contained in:
Marco Napetti 2021-12-09 16:20:53 +01:00
parent 6b94673dd9
commit 8ad9781a3f
2 changed files with 2 additions and 5 deletions

View File

@ -61,8 +61,6 @@ default = [
"with-chrono",
"with-rust_decimal",
"with-uuid",
"runtime-tokio-rustls",#debug
"sqlx-all",#debug
]
macros = ["sea-orm-macros"]
mock = []

View File

@ -596,9 +596,8 @@ pub fn test(_: TokenStream, input: TokenStream) -> TokenStream {
#[test]
#(#attrs)*
fn #name() #ret {
let _ = ::env_logger::builder()
.filter_level(::log::LevelFilter::Debug)
.is_test(true)
let _ = ::tracing_subscriber::fmt()
.with_max_level(::tracing::Level::DEBUG)
.try_init();
crate::block_on!(async { #body })
}