From 3b95306bb8162a946dafba415370d318398831d4 Mon Sep 17 00:00:00 2001 From: petru Date: Sun, 7 Apr 2024 21:24:31 +0300 Subject: [PATCH 1/2] explain features --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index abef889..2381d9a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,6 +22,8 @@ futures = "0.3" [features] default = ["runtime-tokio"] +explain = ["casbin/explain"] +logging = ["casbin/logging"] runtime-tokio = ["casbin/runtime-tokio", "tokio/sync"] runtime-async-std = ["casbin/runtime-async-std", "async-std/std"] @@ -37,4 +39,4 @@ lto = true opt-level = 3 [profile.dev] -split-debuginfo = "unpacked" \ No newline at end of file +split-debuginfo = "unpacked" From 8cda5e2ef9ea17b0351eaabc69a0d728703693c6 Mon Sep 17 00:00:00 2001 From: petru Date: Sun, 7 Apr 2024 21:33:50 +0300 Subject: [PATCH 2/2] feat(core): Add feature --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2381d9a..9b2ac62 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ futures = "0.3" [features] default = ["runtime-tokio"] explain = ["casbin/explain"] -logging = ["casbin/logging"] +logging = ["casbin/logging"] runtime-tokio = ["casbin/runtime-tokio", "tokio/sync"] runtime-async-std = ["casbin/runtime-async-std", "async-std/std"]