Cargo Features

DuckDB has no features set by default.

[dependencies]
duckdb = { version = "1.1.1", features = ["bundled", "json", "parquet", "vtab", "vtab-loadable", "vtab-excel", "vtab-arrow", "appender-arrow", "vtab-full", "extensions-full", "buildtime_bindgen", "modern-full", "polars", "column_decltype", "extra_check", "loadable-extension", "csv", "lazy_static", "byteorder"] }
bundled json? parquet?

Enables bundled of libduckdb-sys

json extensions-full? = bundled

Enables json of libduckdb-sys

parquet extensions-full? = bundled

Enables parquet of libduckdb-sys

vtab vtab-arrow? vtab-excel? vtab-loadable?

Affects duckdb::vtab

vtab-loadable = duckdb-loadable-macros, vtab
vtab-excel vtab-full? = calamine, vtab
vtab-arrow appender-arrow? vtab-full? = num, vtab

Affects vtab::arrow

appender-arrow vtab-full? = vtab-arrow
vtab-full extensions-full? = appender-arrow, vtab-arrow, vtab-excel
extensions-full = json, parquet, vtab-full
buildtime_bindgen

Enables buildtime_bindgen of libduckdb-sys

modern-full = chrono, polars, r2d2, serde_json, url, uuid
polars modern-full?

Enables polars ^0.35.4

column_decltype

FIXME: These were added to make clippy happy: these features appear unused and should perhaps be removed

extra_check
loadable-extension

Warning: experimental feature

Enables loadable-extension of libduckdb-sys

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

chrono modern-full?
serde_json modern-full?
csv implicit feature

Enables csv

csv:

Fast CSV parsing with support for serde

url modern-full?
lazy_static implicit feature

Enables lazy_static

lazy_static:

A macro for declaring lazily evaluated statics in Rust

byteorder implicit feature

Enables byteorder

byteorder:

Library for reading/writing numbers in big-endian and little-endian

uuid modern-full?
r2d2 modern-full?
calamine vtab-excel?

Enables calamine ^0.22.0

num vtab-arrow?
duckdb-loadable-macros vtab-loadable?