Cargo Features

[dependencies]
swiftide-integrations = { version = "0.22.7", default-features = false, features = ["rustls", "qdrant", "pgvector", "redis", "tree-sitter", "openai", "groq", "ollama", "open-router", "fastembed", "dashscope", "scraping", "aws-bedrock", "lancedb", "fluvio", "parquet", "anthropic", "duckdb", "tiktoken", "redb"] }
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 hf-hub-native-tls of optional fastembed, rustls-tls-native-roots of optional reqwest

qdrant

Qdrant for storage

Enables qdrant-client, now of chrono, 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

Affects swiftide-integrations::redis

tree-sitter

Tree-sitter for code operations and chunking

Enables tree-sitter, tree-sitter-c, tree-sitter-cpp, tree-sitter-go, tree-sitter-java, tree-sitter-javascript, tree-sitter-python, tree-sitter-ruby, tree-sitter-rust ^0.23, tree-sitter-solidity, and tree-sitter-typescript

Affects swiftide-integrations::treesitter

openai groq?

OpenAI for embedding and prompting

Enables async-openai of optional tiktoken-rs and async-openai

Integrations

Affects swiftide-integrations::openai

groq = openai

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 hf-hub and ort-download-binaries of 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-array, deadpool, and lancedb

Affects swiftide-integrations::lancedb

fluvio

Fluvio loader

Enables fluvio

Affects swiftide-integrations::fluvio

parquet

Paruqet loader

Enables arrow-array and parquet

Affects swiftide-integrations::parquet

anthropic

Anthropic for prompting and completions

Enables async-anthropic

Affects swiftide-integrations::anthropic

duckdb

Duckdb for indexing and retrieval

Enables duckdb and libduckdb-sys

Affects swiftide-integrations::duckdb

tiktoken

Enables tiktoken-rs

Affects swiftide-integrations::tiktoken

Features from optional dependencies

redb implicit feature

Enables redb

redb:

Rust Embedded DataBase

Affects swiftide-integrations::redb