From 7e9be8b985f875eb4b59b7cdc5ba9f2dbe269c04 Mon Sep 17 00:00:00 2001 From: Youyuan Wu Date: Sat, 7 Sep 2024 19:00:18 -0700 Subject: [PATCH] revert feature test code --- crates/samples/no_default_features/Cargo.toml | 1 + crates/samples/no_default_features/src/lib.rs | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/samples/no_default_features/Cargo.toml b/crates/samples/no_default_features/Cargo.toml index 749f689..4684f7c 100644 --- a/crates/samples/no_default_features/Cargo.toml +++ b/crates/samples/no_default_features/Cargo.toml @@ -10,6 +10,7 @@ crate-type = ["cdylib","staticlib"] [dependencies] mssf-com.workspace = true +# disable all features [dependencies.mssf-core] path = "../../libs/core" default-features = false diff --git a/crates/samples/no_default_features/src/lib.rs b/crates/samples/no_default_features/src/lib.rs index 7004dba..35e1eff 100644 --- a/crates/samples/no_default_features/src/lib.rs +++ b/crates/samples/no_default_features/src/lib.rs @@ -17,8 +17,4 @@ fn test_fn() { // let my_ctx = ActivationContext::create(); my_ctx.unwrap(); - - // TODO: Seems like I can create feature gated object in this workspace - // This compile feature gate test is not successful. - let _c = mssf_core::client::FabricClient::new(); }