From 477e4cc3449a26ae4ce33af473a92c3b89241492 Mon Sep 17 00:00:00 2001 From: localhost Date: Tue, 3 Jun 2025 15:09:26 +0800 Subject: [PATCH] chore: add pg mysql be default feature in cli (#6230) --- src/cli/Cargo.toml | 4 ++++ src/cmd/Cargo.toml | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/cli/Cargo.toml b/src/cli/Cargo.toml index 5dff7c0d8c..410b8faa87 100644 --- a/src/cli/Cargo.toml +++ b/src/cli/Cargo.toml @@ -5,6 +5,10 @@ edition.workspace = true license.workspace = true [features] +default = [ + "pg_kvbackend", + "mysql_kvbackend", +] pg_kvbackend = ["common-meta/pg_kvbackend"] mysql_kvbackend = ["common-meta/mysql_kvbackend"] diff --git a/src/cmd/Cargo.toml b/src/cmd/Cargo.toml index 416250c66d..99611986c3 100644 --- a/src/cmd/Cargo.toml +++ b/src/cmd/Cargo.toml @@ -10,7 +10,12 @@ name = "greptime" path = "src/bin/greptime.rs" [features] -default = ["servers/pprof", "servers/mem-prof", "meta-srv/pg_kvbackend", "meta-srv/mysql_kvbackend"] +default = [ + "servers/pprof", + "servers/mem-prof", + "meta-srv/pg_kvbackend", + "meta-srv/mysql_kvbackend", +] tokio-console = ["common-telemetry/tokio-console"] [lints]