refactor: avoid adding feature to parameter (#6391)

* refactor: avoid adding feature to parameter

* avoid `cfg(not(feature = ...))` block
This commit is contained in:
fys
2025-06-25 18:47:20 +08:00
committed by GitHub
parent 944b4b3e49
commit cde7e11983
5 changed files with 57 additions and 94 deletions

View File

@@ -6,14 +6,6 @@ license.workspace = true
[features]
dashboard = []
enterprise = [
"cmd/enterprise",
"common-meta/enterprise",
"frontend/enterprise",
"meta-srv/enterprise",
"operator/enterprise",
"sql/enterprise",
]
[lints]
workspace = true

View File

@@ -228,8 +228,6 @@ impl GreptimeDbStandaloneBuilder {
},
procedure_manager.clone(),
register_procedure_loaders,
#[cfg(feature = "enterprise")]
None,
)
.unwrap(),
);