Cargo Features
[dependencies]
swiftide = { version = "0.32.1", default-features = false, features = ["all", "macros", "qdrant", "pgvector", "redis", "tree-sitter", "openai", "groq", "gemini", "dashscope", "open-router", "ollama", "anthropic", "fastembed", "scraping", "aws-bedrock", "lancedb", "fluvio", "kafka", "parquet", "redb", "duckdb", "mcp", "metrics", "test-utils", "json-schema", "tiktoken", "swiftide-agents", "langfuse"] }
- default = macros
-
By default only macros are enabled
- all = aws-bedrock, fastembed, groq, ollama, openai, pgvector, qdrant, redis, scraping, tree-sitter
- macros default
-
Enables swiftide-macros
- qdrant all?
-
Integrations
Enables Qdrant for storage and retrieval
Enables qdrant of swiftide-core and swiftide-integrations
swiftide-core:
Local dependencies
- pgvector all?
-
Enables PgVector for storage and retrieval
Enables pgvector of swiftide-integrations
- redis all?
-
Enables Redis as an indexing cache and storage
Enables redis of swiftide-integrations
- tree-sitter all?
-
Tree-sitter for various code transformers
Enables tree-sitter of swiftide-indexing and swiftide-integrations
- openai all?
-
OpenAI
Enables openai of swiftide-integrations
- groq all?
-
Groq
Enables groq of swiftide-integrations
- gemini
-
Google Gemini
Enables gemini of swiftide-integrations
- dashscope
-
Dashscope prompting
Enables dashscope of swiftide-integrations
- open-router
-
OpenRouter prompting
Enables open-router of swiftide-integrations
- ollama all?
-
Ollama prompting
Enables ollama of swiftide-integrations
- anthropic
-
Anthropic
Enables anthropic of swiftide-integrations
- fastembed all?
-
FastEmbed (by qdrant) for fast, local, sparse and dense embeddings
Enables fastembed of swiftide-integrations
- scraping all?
-
Scraping via spider as loader and a html to markdown transformer
Enables scraping of swiftide-integrations
- aws-bedrock all?
-
AWS Bedrock for prompting
Enables aws-bedrock of swiftide-integrations
- lancedb
-
Lancdb for persistance and querying
Enables lancedb of swiftide-integrations
- fluvio
-
Fluvio loader
Enables fluvio of swiftide-integrations
- kafka
-
Kafka loader
Enables kafka of swiftide-integrations
- parquet
-
Parquet loader
Enables parquet of swiftide-integrations
- redb
-
Redb embeddable nodecache
Enables redb of swiftide-integrations
- duckdb
-
Duckdb; sqlite fork, support Persist, Retrieve and NodeCache
Enables duckdb of swiftide-integrations
- mcp = swiftide-agents
-
Other
MCP tool support for agents (tools only)
Enables mcp of swiftide-agents
- metrics
-
Metrics for usage, pipeline and agent performance
Enables metrics of swiftide-core and swiftide-integrations
- test-utils
-
Various mocking and testing utilities
Enables test-utils of swiftide-core
- json-schema
-
Json schema for various types
Enables json-schema of swiftide-agents and swiftide-core
- tiktoken
-
Estimate token counts using tiktoken
Enables tiktoken of swiftide-integrations
- swiftide-agents json-schema? langfuse? mcp?
-
Experimental
GenAI agents and tools
Enables swiftide-agents
- langfuse
-
Langfuse tracing and observability
Enables swiftide-langfuse, langfuse of swiftide-agents and swiftide-integrations