Cargo Features

[dependencies]
swiftide-integrations = { version = "0.20.1", default-features = false, features = ["rustls", "qdrant", "pgvector", "redis", "tree-sitter", "openai", "groq", "ollama", "open-router", "fastembed", "dashscope", "scraping", "aws-bedrock", "lancedb", "fluvio", "parquet", "redb", "anthropic"] }
default = rustls

The rustls feature is set by default whenever swiftide-integrations is added without default-features = false somewhere in the dependency tree.

rustls default

Ensures rustls is used

Enables rustls-tls-native-roots of reqwest

qdrant

Qdrant for storage

Enables qdrant-client, qdrant of swiftide-core

Affects swiftide-integrations::qdrant

pgvector

PgVector for storage

Enables pgvector and sqlx

Affects swiftide-integrations::pgvector

redis

Redis for caching and storage

Enables redis ^0.28

Affects swiftide-integrations::redis

tree-sitter

Tree-sitter for code operations and chunking

Enables tree-sitter, tree-sitter-go, tree-sitter-java, tree-sitter-javascript, tree-sitter-python, tree-sitter-ruby, tree-sitter-rust, tree-sitter-solidity, and tree-sitter-typescript

Affects swiftide-integrations::treesitter

openai

OpenAI for embedding and prompting

Enables async-openai

Integrations

Affects swiftide-integrations::openai

groq

Groq prompting

Enables async-openai, reqwest, and secrecy

Affects swiftide-integrations::groq

ollama

Ollama prompting, embedding, chatcompletion

Enables async-openai, reqwest, and secrecy

Affects swiftide-integrations::ollama

open-router

Openrouter prompting, embedding, chatcompletion

Enables async-openai, reqwest, and secrecy

Affects swiftide-integrations::open_router

fastembed

FastEmbed (by qdrant) for fast, local embeddings

Enables fastembed

Affects swiftide-integrations::fastembed

dashscope

Dashscope prompting

Enables async-openai, reqwest, and secrecy

Affects swiftide-integrations::dashscope

scraping

Scraping via spider as loader and a html to markdown transformer

Enables htmd and spider

Affects swiftide-integrations::scraping

aws-bedrock

AWS Bedrock for prompting

Enables aws-config, aws-credential-types, and aws-sdk-bedrockruntime

Affects swiftide-integrations::aws_bedrock

lancedb

Enables arrow ^53.3, arrow-array ^53.3, deadpool, and lancedb

Affects swiftide-integrations::lancedb

fluvio

Fluvio loader

Enables fluvio

Affects swiftide-integrations::fluvio

parquet

Paruqet loader

Enables arrow ^53.3, arrow-array ^53.3, and parquet ^53.3

Affects swiftide-integrations::parquet

redb

Redb as an embeddable node cache

Enables redb

Affects swiftide-integrations::redb

anthropic

Anthropic for prompting and completions

Enables async-anthropic

Affects swiftide-integrations::anthropic