Put the Ollama tests under a feature

This commit is contained in:
Kerollmops 2025-02-06 17:05:26 +01:00
parent a1d1e7c82a
commit ca1ad51564
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
4 changed files with 7 additions and 5 deletions

View file

@ -145,6 +145,7 @@ zip = { version = "2.2.2", optional = true }
[features]
default = ["meilisearch-types/all-tokenizations", "mini-dashboard"]
swagger = ["utoipa-scalar"]
test-ollama = []
mini-dashboard = [
"static-files",
"anyhow",

View file

@ -1,4 +1,5 @@
mod binary_quantized;
#[cfg(feature = "test-ollama")]
mod ollama;
mod openai;
mod rest;