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-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 = []

View File

@ -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 })
} }