From 360129b0cce7192116f89a006af45969dc7dc078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Wo=C5=BAniak?= Date: Fri, 28 Jul 2023 21:57:31 +0200 Subject: [PATCH] Update Cargo.toml --- Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index bcfecc0..25def35 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,6 +18,10 @@ exclude = [ name = "actix_admin" path = "src/lib.rs" +[features] +default = [] +enable-tracing = ['tracing'] + [dependencies] actix-web = "^4.3.1" actix-session = { version = "^0.7.2", features = [] } @@ -36,6 +40,7 @@ actix-admin-macros = { version = "0.5.0", path = "actix_admin_macros" } derive_more = "0.99.17" regex = "1.8.4" urlencoding = "2.1.2" +tracing = { version = "0.1", optional = true } [dev-dependencies] sea-orm = { version = "^0.11.3", features = [ "sqlx-sqlite", "runtime-actix-native-tls", "macros" ], default-features = true } @@ -43,4 +48,4 @@ actix-rt = "2.8.0" azure_auth = { path = "./examples/azure_auth/azure_auth" } oauth2 = "4.4.1" dotenv = "0.15" -actix-session = { version = "0.7.2", features = ["cookie-session"] } \ No newline at end of file +actix-session = { version = "0.7.2", features = ["cookie-session"] }