From a9e0baa59f296518d2c7307e1de9120e8c603a3b Mon Sep 17 00:00:00 2001 From: Xin Liu Date: Fri, 6 Dec 2024 17:26:06 +0800 Subject: [PATCH] chore: add `logging` feature Signed-off-by: Xin Liu --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index e1d2aa6..a0539e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,6 +27,11 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" http = "1.1" anyhow = "1.0" +log = { version = "0.4.21", features = ["std", "kv", "kv_serde"], optional = true } + +[features] +default = ["logging"] +logging = ["log"] [dev-dependencies] clap = { version = "4.4.6", features = ["cargo", "derive"] } @@ -34,3 +39,4 @@ clap = { version = "4.4.6", features = ["cargo", "derive"] } [[example]] name = "qdrant_examples" path = "examples/src/main.rs" +